Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼3.71ms] Passed 4 tests
This is a short check of server-side resources used by Neoship
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.20 ▲4.45 |
Dashboard /wp-admin | 3.31 ▼0.03 | 48.18 ▼12.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.59 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.89 ▼0.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.37 ▼1.33 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Neoship
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▲0.08 | 1.70 ▲0.19 | 42.79 ▲1.81 |
Dashboard /wp-admin | 2,201 ▲27 | 5.55 ▲0.03 | 99.07 ▲0.66 | 44.45 ▲0.28 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.01 ▼0.00 | 33.62 ▼2.40 | 35.65 ▲1.79 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 22.62 ▼0.64 | 667.16 ▼53.44 | 56.69 ▼1.40 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.24 ▲0.03 | 98.65 ▼5.36 | 42.87 ▼3.69 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/neoship/neoship.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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: neoship, shipping
neoship/neoship.php 92% from 13 tests
The principal PHP file in "Neoship" v. 3.3.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.9" instead of "3.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected2,698 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 506 | 1,345 | 2,235 |
JavaScript | 5 | 41 | 17 | 252 |
PO File | 1 | 56 | 82 | 144 |
CSS | 3 | 13 | 8 | 65 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 18.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 2 | 2.22% |
▷ Public methods | 79 | 87.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 12.22% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.16MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/123kurier-logo.png | 1.85KB | 1.52KB | ▼ 17.63% |
public/images/gls-logo.png | 12.93KB | 1.52KB | ▼ 88.26% |
assets/icon-256x256.png | 3.71KB | 1.69KB | ▼ 54.58% |
public/images/sps-logo.png | 10.96KB | 1.53KB | ▼ 86.02% |
public/images/dpd-logo.png | 0.84KB | 0.84KB | ▼ 0.70% |