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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.90ms] Passed 4 tests
An overview of server-side resources used by TP PieBuilder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 40.01 ▲0.03 |
Dashboard /wp-admin | 3.38 ▲0.08 | 44.08 ▼6.14 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.99 ▼1.26 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.91 ▲5.42 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 36.68 ▼0.23 |
TP PieBuilder /wp-admin/upload.php?page=tp-piebuilder-admin | 3.27 | 29.34 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for TP PieBuilder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.25 ▼0.32 | 1.83 ▲0.13 | 41.50 ▼2.41 |
Dashboard /wp-admin | 2,199 ▲25 | 5.62 ▲0.03 | 91.30 ▲3.08 | 41.71 ▲4.24 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.00 | 38.95 ▲3.13 | 35.03 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 18.44 ▼4.83 | 598.69 ▼74.42 | 51.86 ▼5.36 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.24 ▲0.02 | 99.90 ▼14.66 | 45.32 ▼3.26 |
TP PieBuilder /wp-admin/upload.php?page=tp-piebuilder-admin | 858 | 1.99 | 22.16 | 25.43 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 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 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
7 plugin tags: pie chart, chart, horizontal bar graph, bar graph, polar chart...
tp-piebuilder/tp-piebuilder.php 92% from 13 tests
The principal PHP file in "TP PieBuilder" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 187 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected671 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 57 | 74 | 343 |
JavaScript | 4 | 11 | 24 | 172 |
CSS | 2 | 2 | 8 | 156 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.62 |
▷ 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 | 1 | 33.33% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 33.22KB | 12.81KB | ▼ 61.44% |
assets/screenshot-2.png | 32.79KB | 12.75KB | ▼ 61.11% |
assets/screenshot-5.png | 19.49KB | 8.13KB | ▼ 58.30% |
assets/screenshot-4.png | 27.89KB | 11.21KB | ▼ 59.79% |
assets/screenshot-1.png | 32.03KB | 12.40KB | ▼ 61.27% |