Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▲0.34ms] Passed 4 tests
A check of server-side resources used by Woodpecker for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 42.88 ▲1.52 |
Dashboard /wp-admin | 3.58 ▲0.28 | 54.64 ▲0.21 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 56.70 ▲5.89 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 88.19 ▼5.58 |
Media Library /wp-admin/upload.php | 3.42 ▲0.20 | 42.64 ▲5.19 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 69 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Woodpecker for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,074 ▲328 | 20.19 ▲5.55 | 6.58 ▲4.76 | 37.39 ▼6.33 |
Dashboard /wp-admin | 2,369 ▲181 | 10.66 ▲4.76 | 184.29 ▲65.56 | 113.63 ▲70.19 |
Posts /wp-admin/edit.php | 2,289 ▲200 | 7.07 ▲5.03 | 80.90 ▲42.55 | 80.95 ▲44.25 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 22.76 ▼0.27 | 711.47 ▲29.20 | 57.21 ▼0.91 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 7.68 ▲3.47 | 115.58 ▲1.31 | 93.85 ▲48.34 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 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)
Good news, no errors were detected
SRP 50% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woodpecker/public/partials/wfw-public-shortcode.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: woodpecker connector, newsletter, woodpecker leadform, subscribe list, woodpecker...
woodpecker/woodpecker.php 85% from 13 tests
This is the main PHP file of "Woodpecker for WordPress" version 3.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 173 characters long)
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
No dangerous file extensions were detected1,168 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 261 | 512 | 1,075 |
SVG | 41 | 0 | 1 | 66 |
JavaScript | 5 | 2 | 0 | 25 |
CSS | 2 | 1 | 1 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 70.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 29.73% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/woodpecker-co.png | 2.64KB | 1.53KB | ▼ 42.13% |
admin/lib/img_detective.6117b279b47bc5986a8f.png | 15.52KB | 8.17KB | ▼ 47.33% |