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.50MB] [CPU: ▼4.43ms] Passed 4 tests
A check of server-side resources used by Enterprise Shipping for Pitney Bowes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 39.21 ▼2.05 |
Dashboard /wp-admin | 3.83 ▲0.52 | 47.45 ▼2.59 |
Posts /wp-admin/edit.php | 3.94 ▲0.59 | 50.84 ▼0.82 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.52 | 90.23 ▼12.25 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 37.78 ▲2.06 |
PB Ship Admin /wp-admin/options-general.php?page=pb-admin | 3.78 | 42.61 |
PB Ship Admin /wp-admin/admin.php?page=pb-admin | 3.78 | 43.56 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Enterprise Shipping for Pitney Bowes
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲49 | 14.31 ▼0.33 | 1.57 ▼0.14 | 36.69 ▼8.04 |
Dashboard /wp-admin | 2,204 ▲27 | 5.60 ▼0.05 | 86.53 ▼10.47 | 38.42 ▼5.74 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 1.98 ▼0.00 | 39.78 ▲4.12 | 36.68 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.14 ▲0.01 | 654.85 ▼34.53 | 55.29 ▼3.70 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.23 ▲0.01 | 95.46 ▼2.64 | 41.65 ▼0.13 |
PB Ship Admin /wp-admin/options-general.php?page=pb-admin | 1,881 | 2.14 | 24.50 | 41.76 |
PB Ship Admin /wp-admin/admin.php?page=pb-admin | 1,878 | 2.32 | 26.99 | 33.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in pb-shipping/assets to your readme.txt
pb-shipping/pb_functions.php 85% from 13 tests
The principal PHP file in "Enterprise Shipping for Pitney Bowes" v. 3.2.15 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pb-shipping.php" instead of "pb_functions.php")
- Requires at least: Required version does not match the one declared in readme.txt ("4.6" instead of "6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected3,413 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 390 | 98 | 3,413 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 70 | |
▷ Named functions | 69 | 98.57% |
▷ Anonymous functions | 1 | 1.43% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.20MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-msg.png | 3.63KB | 3.64KB | 0.00% |
assets/icon-trns.png | 8.17KB | 3.74KB | ▼ 54.23% |
assets/pb_logo.png | 181.92KB | 82.46KB | ▼ 54.67% |
assets/icon-256x256.png | 7.64KB | 3.71KB | ▼ 51.44% |