Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.90ms] Passed 4 tests
Server-side resources used by DeadPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.61 ▲1.98 |
Dashboard /wp-admin | 4.88 ▲1.58 | 62.78 ▲8.18 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.07 ▼1.42 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.70 ▼6.39 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.48 ▲2.24 |
Server storage [IO: ▲0.75MB] [DB: ▲0.27MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for DeadPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 14.42 ▲0.04 | 1.76 ▼0.01 | 43.40 ▼0.30 |
Dashboard /wp-admin | 2,353 ▲176 | 5.60 ▲0.03 | 98.45 ▲7.05 | 53.33 ▲13.96 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.03 | 36.66 ▼3.25 | 34.92 ▼9.96 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.62 ▲0.01 | 675.34 ▼10.50 | 61.18 ▲8.12 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.22 ▲0.05 | 98.21 ▼7.86 | 43.01 ▼4.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.27MB] 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 detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/deadpress/deadpress.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/deadpress/trunk/deadpress.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #2, #3 in deadpress/assets to your readme.txt
deadpress/deadpress.php Passed 13 tests
The primary PHP file in "DeadPress" version 2.0 is used by WordPress to initiate all plugin functionality
119 characters long description:
A plugin for Deadheads who use WordPress. Like WordPress, the Grateful Dead represent openness, freedom and creativity.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected207 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 42 | 34 | 196 |
CSS | 1 | 3 | 4 | 11 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.74MB with 0.52MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 170.67KB | 45.22KB | ▼ 73.50% |
screenshot-1.png | 61.42KB | 17.61KB | ▼ 71.33% |
trunk/screenshot-1.png | 61.42KB | 17.61KB | ▼ 71.33% |
trunk/img/wordpress-stealie.png | 39.26KB | 15.57KB | ▼ 60.34% |
screenshot-3.png | 106.93KB | 28.79KB | ▼ 73.08% |