Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.38ms] Passed 4 tests
Server-side resources used by atec Cache Info
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.79 ▼5.78 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.67 ▼3.27 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.63 ▼4.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 100.24 ▲6.83 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.92 ▲3.64 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for atec Cache Info
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.35 ▼1.24 | 1.65 ▼0.24 | 33.47 ▼10.18 |
Dashboard /wp-admin | 2,240 ▲52 | 5.86 ▼0.19 | 106.49 ▼13.05 | 40.98 ▼4.62 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.08 ▲0.04 | 39.24 ▲6.16 | 38.12 ▲1.60 |
Add New Post /wp-admin/post-new.php | 1,531 ▼3 | 23.26 ▲0.16 | 660.82 ▼34.27 | 61.41 ▲14.63 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.32 ▲0.11 | 98.55 ▲0.87 | 40.17 ▼7.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: memcached, redis, opcache, wp-object-cache, sqlite-object-cache...
atec-cache-info/atec-cache-info.php Passed 13 tests
Analyzing the main PHP file in "atec Cache Info" version 1.1.5
104 characters long description:
atec Cache Info & Statistics (OPcache, WP-object-cache, APCu, Memcached, Redis and SQLite-object-cache )
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 detected497 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 55 | 16 | 481 |
CSS | 3 | 0 | 10 | 14 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 65.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 13.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 20.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 80.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.21MB with 0.10MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/screenshot_1.png | 214.66KB | 114.02KB | ▼ 46.88% |