Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼10.61ms] Passed 4 tests
An overview of server-side resources used by Migrate away from Envira Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 45.55 ▲1.80 |
Dashboard /wp-admin | 3.38 ▲0.03 | 47.91 ▼21.91 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.22 ▼12.85 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.91 ▼9.47 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.09 ▲3.16 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Migrate away from Envira Gallery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 14.17 ▼0.21 | 1.74 ▼0.12 | 39.91 ▼1.60 |
Dashboard /wp-admin | 2,204 ▲30 | 5.62 ▲0.11 | 95.95 ▲8.82 | 48.27 ▲7.09 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.01 ▲0.02 | 35.30 ▼5.69 | 32.62 ▼5.44 |
Add New Post /wp-admin/post-new.php | 1,548 ▲11 | 18.02 ▼5.51 | 639.52 ▼45.05 | 64.95 ▲6.99 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.11 | 100.54 ▼3.90 | 43.59 ▲1.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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, envira gallery migrator, migrate from envira gallery
modula-envira-migrator/modula-envira-migrator.php Passed 13 tests
The main PHP script in "Migrate away from Envira Gallery" version 1.0.0 is automatically included on every request by WordPress
76 characters long description:
Submodule that helps migrate galleries from Envira Gallery to Modula Gallery
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected378 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 139 | 186 | 365 |
CSS | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 45.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 5.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.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 | 20 | |
▷ Static methods | 6 | 30.00% |
▷ Public methods | 20 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin