Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.87MB] [CPU: ▼53.78ms] Passed 4 tests
A check of server-side resources used by Migrate away from NextGEN Gallery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.26 ▼2.49 |
Dashboard /wp-admin | 2.09 ▼1.26 | 7.01 ▼50.99 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.40 ▼41.40 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 7.43 ▼92.61 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.10 ▼30.10 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Migrate away from NextGEN Gallery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲52 | 14.55 ▲0.20 | 1.79 ▲0.34 | 43.40 ▲3.31 |
Dashboard /wp-admin | 2,201 ▲24 | 5.50 ▼0.11 | 81.08 ▼4.68 | 39.88 ▼4.65 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.95 ▼0.16 | 35.53 ▼0.55 | 40.82 ▲5.54 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.22 ▲0.04 | 622.72 ▼139.29 | 47.65 ▼18.87 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.17 ▲0.03 | 97.69 ▼20.40 | 48.10 ▲1.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: gallery migrator, migrate to modula, nextgen gallery migrator, migrate from nextgen gallery
modula-nextgen-migrator/migrate-away-from-nextgen.php 92% from 13 tests
The main PHP file in "Migrate away from NextGEN Gallery" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("modula-nextgen-migrator.php" instead of "migrate-away-from-nextgen.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
Good job! No executable or dangerous file extensions detected443 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 158 | 223 | 376 |
PO File | 1 | 13 | 16 | 54 |
CSS | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 31.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 6 | 27.27% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin