Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.19ms] Passed 4 tests
Analyzing server-side resources used by LTI Platform
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.64 ▼6.50 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.78 ▼7.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.22 ▼1.82 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.34 ▼1.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.39 ▲1.46 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for LTI Platform
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.26 ▼1.04 | 2.08 ▲0.29 | 43.35 ▲0.08 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲1.00 | 107.84 ▲3.11 | 40.72 ▼2.93 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.06 | 38.50 ▼1.33 | 34.41 ▼4.17 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.47 ▼6.09 | 657.47 ▼21.32 | 52.05 ▼3.67 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.16 ▼0.08 | 93.85 ▼2.66 | 43.42 ▲1.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'ceLTIc\\LTI\\DataConnector\\DataConnector' not found in wp-content/plugins/lti-platform/includes/class-lti-platform-dataconnector.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/lti-platform/admin/partials/lti-platform-admin-settings.php:42
- > PHP Fatal error
Uncaught Error: Class 'ceLTIc\\LTI\\Tool' not found in wp-content/plugins/lti-platform/includes/class-lti-platform-tool.php:36
- > PHP Fatal error
Uncaught Error: Class 'ceLTIc\\LTI\\Platform' not found in wp-content/plugins/lti-platform/includes/class-lti-platform-platform_v5.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/lti-platform/admin/partials/lti-platform-admin-edit.php:33
- > PHP Fatal error
Uncaught Error: Class 'ceLTIc\\LTI\\DataConnector\\DataConnector' not found in wp-content/plugins/lti-platform/includes/class-lti-platform-dataconnector_v5.php:39
- > PHP Fatal error
Uncaught Error: Class 'LTI_Platform_Tool_List_Table' not found in wp-content/plugins/lti-platform/admin/partials/lti-platform-admin-view.php:33
- > PHP Fatal error
Uncaught Error: Class 'ceLTIc\\LTI\\Platform' not found in wp-content/plugins/lti-platform/includes/class-lti-platform-platform.php:39
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/lti-platform/admin/class-lti-platform-tool-list-table.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: lti, 1edtech, celtic, ims, learning tools interoperability...
lti-platform/lti-platform.php Passed 13 tests
Analyzing the main PHP file in "LTI Platform" version 2.2.0
135 characters long description:
This plugin allows WordPress to act as a Platform using the 1EdTech (formerly) IMS Learning Tools Interoperability (LTI) specification.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,841 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 348 | 1,740 | 2,704 |
JavaScript | 2 | 4 | 0 | 86 |
CSS | 1 | 2 | 0 | 23 |
JSON | 1 | 0 | 0 | 21 |
Markdown | 1 | 6 | 0 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 35.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 18 | 12.86% |
▷ Public methods | 107 | 76.43% |
▷ Protected methods | 13 | 9.29% |
▷ Private methods | 20 | 14.29% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin