xAPI-vle/moodle-logstore_xapi

View on GitHub

Showing 238 of 238 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
src/transformer/events/core/calendar_subscription_updated.php on lines 1..75

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
src/transformer/events/core/calendar_subscription_created.php on lines 1..76

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/core/note_updated.php and 1 other location - About 1 day to fix
src/transformer/events/core/note_created.php on lines 1..74

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/core/note_created.php and 1 other location - About 1 day to fix
src/transformer/events/core/note_updated.php on lines 1..73

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/mod_forum/post_created.php and 1 other location - About 1 day to fix
src/transformer/events/mod_forum/post_updated.php on lines 1..68

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/mod_forum/post_updated.php and 1 other location - About 1 day to fix
src/transformer/events/mod_forum/post_created.php on lines 1..71

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
src/transformer/events/mod_feedback/item_answered/textfield.php on lines 1..90

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
src/transformer/events/mod_feedback/item_answered/textarea.php on lines 1..90

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/core/calendar_event_created.php and 1 other location - About 1 day to fix
src/transformer/events/core/calendar_event_updated.php on lines 1..70

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/core/calendar_event_updated.php and 1 other location - About 1 day to fix
src/transformer/events/core/calendar_event_created.php on lines 1..71

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/core/group_member_added.php and 1 other location - About 1 day to fix
src/transformer/events/core/group_member_removed.php on lines 1..66

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/core/group_member_removed.php and 1 other location - About 1 day to fix
src/transformer/events/core/group_member_added.php on lines 1..66

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/mod_lesson/content_page_viewed.php and 1 other location - About 1 day to fix
src/transformer/events/mod_lesson/question_viewed.php on lines 1..74

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/mod_lesson/question_viewed.php and 1 other location - About 1 day to fix
src/transformer/events/mod_lesson/content_page_viewed.php on lines 1..74

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
src/transformer/events/mod_forum/discussion_subscription_created.php on lines 1..69

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
src/transformer/events/mod_forum/discussion_subscription_deleted.php on lines 1..69

Similar blocks of code found in 4 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/mod_lesson/lesson_restarted.php and 3 other locations - About 7 hrs to fix
src/transformer/events/mod_book/chapter_created.php on lines 1..70
src/transformer/events/mod_lesson/lesson_resumed.php on lines 1..72
src/transformer/events/mod_lesson/lesson_started.php on lines 1..72

Similar blocks of code found in 4 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/mod_lesson/lesson_resumed.php and 3 other locations - About 7 hrs to fix
src/transformer/events/mod_book/chapter_created.php on lines 1..70
src/transformer/events/mod_lesson/lesson_restarted.php on lines 1..72
src/transformer/events/mod_lesson/lesson_started.php on lines 1..72

Similar blocks of code found in 4 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/mod_lesson/lesson_started.php and 3 other locations - About 7 hrs to fix
src/transformer/events/mod_book/chapter_created.php on lines 1..70
src/transformer/events/mod_lesson/lesson_restarted.php on lines 1..72
src/transformer/events/mod_lesson/lesson_resumed.php on lines 1..72

Similar blocks of code found in 4 locations. Consider refactoring.
Open

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Severity: Major
Found in src/transformer/events/mod_book/chapter_created.php and 3 other locations - About 7 hrs to fix
src/transformer/events/mod_lesson/lesson_restarted.php on lines 1..72
src/transformer/events/mod_lesson/lesson_resumed.php on lines 1..72
src/transformer/events/mod_lesson/lesson_started.php on lines 1..72
Severity
Category
Status
Source
Language