Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲2.11MB] [CPU: ▲16.84ms] 75% from 4 tests
A check of server-side resources used by Docket Cache - Object Cache Accelerator
Please take the time to fix the following items
- RAM: You should keep total memory usage under 10MB (currently 10.22MB on /wp-admin/admin.php?page=docket-cache-config)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.38 ▲1.91 | 54.91 ▲14.11 |
Dashboard /wp-admin | 5.45 ▲2.15 | 65.44 ▲18.48 |
Posts /wp-admin/edit.php | 5.54 ▲2.18 | 56.44 ▲13.18 |
Add New Post /wp-admin/post-new.php | 8.08 ▲2.19 | 114.01 ▲21.58 |
Media Library /wp-admin/upload.php | 5.78 ▲2.55 | 57.91 ▲24.20 |
Cronbot /wp-admin/admin.php?page=docket-cache-cronbot | 10.12 | 131.42 |
Overview /wp-admin/admin.php?page=docket-cache | 10.16 | 153.51 |
Configuration /wp-admin/admin.php?page=docket-cache-config | 10.22 | 210.91 |
Server storage [IO: ▲0.80MB] [DB: ▼0.50MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- There were 62 files (1,032.50KB) illegally modified outside of "wp-content/plugins/docket-cache/" and "wp-content/uploads/"
- (new file) wp-content/cache/docket-cache/18958e30bdca-eccbc87e4b5c.php
- (new file) wp-content/cache/docket-cache/0700cd3e2cd8-1099e974c19d.php
- (new file) wp-content/cache/docket-cache/18958e30bdca-d3d9446802a4.php
- (new file) wp-content/cache/docket-cache/18958e30bdca-c4ca4238a0b9.php
- (new file) wp-content/cache/docket-cache/3e81e7e6a880-94cba8bbe64a.php
- (new file) wp-content/cache/docket-cache/06d4cd63bde9-fd8e2a29bf96.php
- (new file) wp-content/cache/docket-cache/26dbb02c7545-c4ca4238a0b9.php
- (new file) wp-content/cache/docket-cache/18958e30bdca-fd8e2a29bf96.php
- (new file) wp-content/cache/docket-cache/06d4cd63bde9-c4ca4238a0b9.php
- (new file) wp-content/cache/docket-cache/36bbcaedce2d-c4ca4238a0b9.php
- ...
Filesystem: 88 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Docket Cache - Object Cache Accelerator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲112 | 14.36 ▼0.37 | 1.76 ▲0.00 | 41.88 ▼4.53 |
Dashboard /wp-admin | 2,283 ▲114 | 5.71 ▼0.02 | 102.13 ▼17.99 | 46.20 ▼1.88 |
Posts /wp-admin/edit.php | 2,215 ▲115 | 2.02 ▲0.06 | 37.39 ▲0.30 | 34.89 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.43 ▲0.20 | 701.09 ▲43.57 | 57.37 ▲9.16 |
Media Library /wp-admin/upload.php | 1,521 ▲121 | 4.32 ▲0.13 | 120.80 ▲20.72 | 46.24 ▲5.44 |
Cronbot /wp-admin/admin.php?page=docket-cache-cronbot | 1,382 | 2.05 | 31.88 | 33.41 |
Overview /wp-admin/admin.php?page=docket-cache | 1,127 | 2.16 | 35.08 | 26.54 |
Configuration /wp-admin/admin.php?page=docket-cache-config | 3,080 | 2.09 | 31.12 | 53.79 |
Uninstaller [IO: ▲0.03MB] [DB: ▼0.18MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Polyfill\\Php80\\PhpToken' not found in wp-content/plugins/docket-cache/includes/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Nawawi\\Symfony\\Component\\VarExporter\\Exception\\ExceptionInterface' not found in wp-content/plugins/docket-cache/includes/vendor/symfony/var-exporter/Exception/NotInstantiableTypeException.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Nawawi\\Symfony\\Component\\VarExporter\\Exception\\ExceptionInterface' not found in wp-content/plugins/docket-cache/includes/vendor/symfony/var-exporter/Exception/ClassNotFoundException.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Stringable' not found in wp-content/plugins/docket-cache/includes/vendor/symfony/polyfill-php80/PhpToken.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: performance, speed, object cache, opcache, database...
docket-cache/docket-cache.php Passed 13 tests
The main file in "Docket Cache - Object Cache Accelerator" v. 23.08.02 serves as a complement to information provided in readme.txt and as the entry point to the plugin
95 characters long description:
A persistent object cache stored as a plain PHP code, accelerates caching with OPcache backend.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected16,243 lines of code in 72 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 66 | 3,267 | 3,136 | 15,087 |
CSS | 2 | 172 | 39 | 826 |
JavaScript | 3 | 42 | 24 | 329 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 101)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 60.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 374.00 |
Average method complexity | 5.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 101.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 44 | 100.00% |
▷ Final classes | 23 | 52.27% |
Methods | 572 | |
▷ Static methods | 74 | 12.94% |
▷ Public methods | 432 | 75.52% |
▷ Protected methods | 6 | 1.05% |
▷ Private methods | 134 | 23.43% |
Functions | 207 | |
▷ Named functions | 59 | 28.50% |
▷ Anonymous functions | 148 | 71.50% |
Constants | 18 | |
▷ Global constants | 10 | 55.56% |
▷ Class constants | 8 | 44.44% |
▷ Public constants | 8 | 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
There were not PNG files found in your plugin