Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/picture-organizer/ovm-picture-organizer.php+227
unlink(wp-content/plugins/picture-organizer/inc/ovm_po_premium.php): No such file or directory
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.08ms] Passed 4 tests
Analyzing server-side resources used by OVM Picture Organizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.04 ▲2.53 |
Dashboard /wp-admin | 3.41 ▲0.11 | 326.34 ▲274.92 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 54.69 ▲5.54 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 86.76 ▼9.19 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.07 ▲1.44 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
ovm_po_options_tab |
db_upgraded |
ovm_po_affiliate_info |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
po_premium_info |
can_compress_scripts |
ovm_po_output_options_tab |
... |
Browser metrics Passed 4 tests
A check of browser resources used by OVM Picture Organizer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.22 ▼1.37 | 1.78 ▼0.26 | 44.82 ▲1.30 |
Dashboard /wp-admin | 2,212 ▲24 | 4.82 ▼1.06 | 108.86 ▼7.87 | 39.45 ▼5.94 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.06 ▲0.03 | 39.38 ▲2.39 | 34.14 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.60 ▲6.06 | 631.32 ▼66.55 | 53.05 ▼0.43 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.03 | 97.85 ▼15.48 | 43.35 ▼3.01 |
Picture-Organizer /wp-admin/picture-organizer-options.php | 26 | 0.44 | 0.07 | 13.50 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 11 options
- widget_theysaidso_widget
- ovm_po_output_options_tab
- db_upgraded
- widget_recent-posts
- ovm_po_db_version
- po_premium_info
- can_compress_scripts
- ovm_po_affiliate_info
- theysaidso_admin_options
- ovm_po_options_tab
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/picture-organizer/index.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/picture-organizer-options.php
- > Network (severe)
wp-admin/picture-organizer-options.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
picture-organizer/ovm-picture-organizer.php 92% from 13 tests
The main PHP file in "OVM Picture Organizer" ver. 2.0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("picture-organizer.php" instead of "ovm-picture-organizer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,218 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 319 | 224 | 1,552 |
PO File | 1 | 161 | 184 | 358 |
HTML | 6 | 4 | 0 | 125 |
JavaScript | 3 | 21 | 0 | 105 |
CSS | 4 | 2 | 4 | 78 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 30.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 82.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 17.95% |
Functions | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
Constants | 19 | |
▷ Global constants | 19 | 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
No PNG images were found in this plugin