Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.70ms] Passed 4 tests
An overview of server-side resources used by bodi0`s Easy cache
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.78 ▼0.37 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.22 ▼0.73 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.66 ▼1.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.32 ▼8.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.94 ▲0.51 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for bodi0`s Easy cache
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.07 | 1.80 ▼0.04 | 44.36 ▲4.15 |
Dashboard /wp-admin | 2,192 ▲21 | 5.56 ▲0.02 | 87.96 ▲1.80 | 40.00 ▼3.97 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▲0.02 | 33.92 ▼2.25 | 32.60 ▼2.71 |
Add New Post /wp-admin/post-new.php | 1,526 ▼25 | 23.21 ▲4.99 | 674.69 ▲19.32 | 69.05 ▲3.18 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.18 ▲0.02 | 102.63 ▲6.38 | 48.24 ▲2.54 |
Uninstaller [IO: ▲0.38MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attentionThe uninstall procedure has failed, leaving 6 options in the database
- The plugin did not uninstall correctly, leaving 18 files (0.38MB) in the plugin directory
- (new file) languages/bodi0-easy-cache-en_GB.po
- (new file) bodi0-easy-cache-admin.php
- (new file) languages/bodi0-easy-cache-bg_BG.mo
- (new file) languages/bodi0-easy-cache-en_GB.mo
- (new file) languages/bodi0-easy-cache-bg_BG.po
- (new file) bodi0-easy-cache.php
- (new file) bodi0-easy-cache-end.php
- (new file) bodi0-easy-cache-start.php
- (new file) languages/bodi0-easy-cache-es_ES.mo
- (new file) bodi0-easy-cache-settings.php
- ...
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
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
Even though no errors were found, this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (22 tag instead of maximum 10)
- Screenshots: These screenshots do not have images: #1 (screenshot-1.gif), #2 (screenshot-2.gif), #3 (screenshot-3.gif)
bodi0s-easy-cache/bodi0-easy-cache.php 85% from 13 tests
The principal PHP file in "bodi0`s Easy cache" v. 0.8 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bodi0s-easy-cache.php" instead of "bodi0-easy-cache.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected2,575 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 412 | 509 | 1,502 |
PHP | 6 | 201 | 323 | 1,073 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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