Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.48MB] [CPU: ▲0.39ms] Passed 4 tests
This is a short check of server-side resources used by YASAKANI Cache
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 47.23 ▲4.75 |
Dashboard /wp-admin | 3.86 ▲0.55 | 63.22 ▲1.77 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 54.23 ▲0.92 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.49 | 92.93 ▼5.88 |
Media Library /wp-admin/upload.php | 3.72 ▲0.48 | 48.91 ▲8.46 |
YASAKANI Cache /wp-admin/options-general.php?page=yasakani-cache | 3.70 | 40.84 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
It is recommended to fix the following issues
- You have illegally modified 5 files (61.19KB) outside of "wp-content/plugins/yasakani-cache/" and "wp-content/uploads/"
- (modified) wp-config.php
- (new file) wp-content/yasakani-cache/.htaccess
- (new file) wp-content/advanced-cache.php
- (new file) wp-content/yasakani-cache/yasakani_cache.db
- (new file) wp-content/yasakani-cache-exload.php
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for YASAKANI Cache
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.40 ▼0.15 | 1.81 ▼0.32 | 43.05 ▼4.15 |
Dashboard /wp-admin | 2,202 ▲22 | 5.67 ▲0.02 | 93.07 ▲2.56 | 39.79 ▼3.07 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 38.27 ▲0.26 | 34.05 ▼3.13 |
Add New Post /wp-admin/post-new.php | 6,241 ▲4,713 | 25.87 ▲2.62 | 952.45 ▲271.03 | 70.16 ▲13.94 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.11 ▼0.07 | 101.69 ▼6.26 | 44.02 ▼5.84 |
YASAKANI Cache /wp-admin/options-general.php?page=yasakani-cache | 1,351 | 2.09 | 37.90 | 38.19 |
Uninstaller [IO: ▲0.00MB] [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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
No output text or server-side errors detected 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
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: bot block, security, cache, sqlite, statistics...
yasakani-cache/yasakani-cache.php 92% from 13 tests
The primary PHP file in "YASAKANI Cache" version 3.7.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin5,627 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 425 | 713 | 5,243 |
PO File | 1 | 134 | 137 | 384 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 107.92 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 339.00 |
Average method complexity | 8.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 74.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 157 | |
▷ Static methods | 103 | 65.61% |
▷ Public methods | 156 | 99.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.64% |
Functions | 27 | |
▷ Named functions | 5 | 18.52% |
▷ Anonymous functions | 22 | 81.48% |
Constants | 9 | |
▷ Global constants | 2 | 22.22% |
▷ Class constants | 7 | 77.78% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin