Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.81ms] Passed 4 tests
This is a short check of server-side resources used by AccessAlly™ LMS Migration from Zippy Courses®
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 33.45 ▼4.78 |
Dashboard /wp-admin | 3.40 ▲0.09 | 46.61 ▼2.25 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 44.54 ▲0.12 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 92.62 ▼0.31 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.53 ▲2.66 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
AccessAlly™ LMS Migration from Zippy Courses®: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.28 ▼1.51 | 1.51 ▼0.10 | 40.65 ▼2.06 |
Dashboard /wp-admin | 2,224 ▲36 | 5.91 ▲0.09 | 103.90 ▼13.36 | 68.84 ▲22.38 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.10 ▲0.08 | 34.40 ▼5.35 | 34.00 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.00 ▲0.05 | 674.01 ▼26.86 | 63.74 ▲14.29 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.10 ▼0.10 | 96.34 ▼1.89 | 74.74 ▲31.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/accessally-lms-migration-from-zippy-courses/backend/existing-template.php
- > /wp-content/plugins/accessally-lms-migration-from-zippy-courses/backend/convert-template.php
- > /wp-content/plugins/accessally-lms-migration-from-zippy-courses/backend/settings-template.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/accessally-lms-migration-from-zippy-courses/accessally-lms-migrate-zippy-courses.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/accessally-lms-migration-from-zippy-courses/backend/settings-display.php:2
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: zippy courses migration, import lms, switch lms, accessally migration, migrate lms...
accessally-lms-migration-from-zippy-courses/accessally-lms-migrate-zippy-courses.php 85% from 13 tests
The primary PHP file in "AccessAlly™ LMS Migration from Zippy Courses®" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 197 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("accessally-lms-migration-from-zippy-courses.php" instead of "accessally-lms-migrate-zippy-courses.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin864 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 42 | 30 | 485 |
CSS | 1 | 0 | 2 | 249 |
JavaScript | 1 | 5 | 7 | 130 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 83.00 |
▷ Minimum class complexity | 83.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 23 | 100.00% |
▷ Public methods | 11 | 47.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 52.17% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
backend/icon.png | 0.70KB | 0.75KB | 0.00% |
backend/pencil.png | 15.01KB | 0.21KB | ▼ 98.63% |
backend/revert.png | 0.38KB | 0.48KB | 0.00% |
backend/completed.png | 1.43KB | 0.69KB | ▼ 51.40% |
backend/error.png | 2.42KB | 2.56KB | 0.00% |