Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.86ms] Passed 4 tests
Analyzing server-side resources used by Cache Buddy
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 40.39 ▼0.51 |
Dashboard /wp-admin | 3.37 ▲0.02 | 43.20 ▼13.79 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.11 ▼3.83 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.08 ▼5.31 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 33.07 ▲1.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Cache Buddy
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.79 ▼0.59 | 1.84 ▼0.06 | 44.34 ▼6.97 |
Dashboard /wp-admin | 2,206 ▲18 | 4.80 ▼1.10 | 107.12 ▼0.36 | 40.05 ▼1.77 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.04 ▼0.01 | 43.93 ▲2.97 | 34.02 ▼4.44 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.50 ▼5.74 | 657.40 ▲62.72 | 57.13 ▼6.27 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.18 ▼0.04 | 94.20 ▼5.27 | 41.25 ▼2.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- 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
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: cache, performance, caching, speed, faster
cache-buddy/cache-buddy.php Passed 13 tests
Analyzing the main PHP file in "Cache Buddy" version 0.2.0
127 characters long description:
Minimizes the situations in which logged-in users appear logged-in to WordPress, which increases the cacheability of your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin316 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 59 | 164 | 309 |
Markdown | 3 | 3 | 0 | 6 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 12.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 4 | 10.81% |
▷ Public methods | 27 | 72.97% |
▷ Protected methods | 5 | 13.51% |
▷ Private methods | 5 | 13.51% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.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 files were detected