Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.94ms] Passed 4 tests
Analyzing server-side resources used by Deliverables
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.85 ▼2.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.42 ▼2.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.87 ▼0.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.49 ▼8.85 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.40 ▼5.36 |
Server storage [IO: ▲1.89MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 78 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Deliverables
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.17 ▼0.07 | 1.80 ▲0.15 | 44.82 ▼11.02 |
Dashboard /wp-admin | 2,198 ▲21 | 5.65 ▼0.04 | 89.54 ▼12.45 | 41.04 ▼4.78 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.02 | 41.25 ▲3.41 | 34.99 ▼3.75 |
Add New Post /wp-admin/post-new.php | 1,525 ▼1 | 23.74 ▲0.14 | 679.53 ▼11.10 | 64.44 ▲9.35 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.00 | 99.15 ▼11.63 | 45.06 ▼1.45 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Screenshots: Screenshot #1 (This is how plugin looks at back-end) image required
deliverables/deliverables.php 92% from 13 tests
The principal PHP file in "Deliverables" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 246 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
There were no executable files found in this plugin16,555 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 8 | 55 | 7,985 |
JavaScript | 12 | 1,342 | 1,143 | 5,256 |
PHP | 17 | 590 | 705 | 2,997 |
SVG | 1 | 0 | 0 | 288 |
Markdown | 1 | 9 | 0 | 20 |
HTML | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.40 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 41 | |
▷ Named functions | 41 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
31 PNG files occupy 0.72MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/main.png | 15.81KB | 4.15KB | ▼ 73.77% |
assets/add-items.png | 38.39KB | 10.56KB | ▼ 72.49% |
images/plus--.png | 0.52KB | 0.47KB | ▼ 9.93% |
images/order-detail.png | 25.80KB | 8.62KB | ▼ 66.61% |
images/home_w.png | 1.72KB | 1.38KB | ▼ 20.05% |