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.00MB] [CPU: ▲1.44ms] Passed 4 tests
A check of server-side resources used by Image Compare
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.46 ▲0.88 |
Dashboard /wp-admin | 3.31 ▲0.00 | 62.25 ▲3.47 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 61.50 ▲3.53 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 116.60 ▲7.31 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.17 ▼2.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Image Compare
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲18 | 13.59 ▼1.27 | 1.74 ▼0.02 | 46.15 ▼0.61 |
Dashboard /wp-admin | 2,224 ▲24 | 5.79 ▲0.69 | 110.65 ▲3.56 | 37.39 ▼2.78 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.19 ▲0.22 | 42.46 ▲0.51 | 32.95 ▼3.96 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 17.76 ▼5.40 | 754.17 ▲104.17 | 58.75 ▲8.32 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.22 ▲0.04 | 106.51 ▼2.32 | 42.59 ▲0.12 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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
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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3 in image-compare/assets to your readme.txt
image-compare/image-compare.php Passed 13 tests
"Image Compare" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
54 characters long description:
You can use this image compare plugin completely free.
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 detected1,050 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 148 | 87 | 572 |
PHP | 3 | 90 | 218 | 301 |
CSS | 1 | 29 | 0 | 177 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 19 | 90.48% |
▷ Protected methods | 2 | 9.52% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin