Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.23ms] Passed 4 tests
This is a short check of server-side resources used by Dessky Cache
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.76 ▼0.86 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.17 ▲4.18 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 45.54 ▼3.41 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 91.10 ▼18.04 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.20 ▲1.40 |
Dessky Cache /wp-admin/options-general.php?page=dessky-cache | 3.22 | 35.68 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Please fix the following
- There were 2 files (6.98KB) illegally modified outside of "wp-content/plugins/dessky-cache/" and "wp-content/uploads/"
- (new file) wp-content/advanced-cache.php
- (modified) wp-config.php
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
dch_cache |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Dessky Cache
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.63 ▼0.75 | 1.72 ▼0.16 | 41.73 ▼2.91 |
Dashboard /wp-admin | 2,226 ▲35 | 4.87 ▼1.01 | 102.53 ▲0.63 | 40.41 ▼2.71 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 2.05 ▲0.04 | 39.96 ▲0.50 | 36.02 ▼1.51 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 18.19 ▼5.03 | 599.31 ▼25.19 | 65.67 ▲4.05 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.22 ▼0.11 | 97.93 ▼1.47 | 42.22 ▼0.06 |
Dessky Cache /wp-admin/options-general.php?page=dessky-cache | 957 | 2.02 | 27.74 | 31.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/dessky-cache/util/advanced-cache.php on line 25
- > PHP Warning
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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: There are too many tags (14 tag instead of maximum 10)
dessky-cache/dessky-cache.php Passed 13 tests
The primary PHP file in "Dessky Cache" version 1.1 is used by WordPress to initiate all plugin functionality
123 characters long description:
Dessky Cache is the ultralight caching plugin suited for websites that are hosted on shared hosting with limited resources.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,457 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 508 | 778 | 1,420 |
JavaScript | 1 | 7 | 0 | 37 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 89.50 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 2 | 100.00% |
Methods | 69 | |
▷ Static methods | 68 | 98.55% |
▷ Public methods | 44 | 63.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 25 | 36.23% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 5 | 41.67% |
▷ Class constants | 7 | 58.33% |
▷ 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 files were detected