Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.48ms] Passed 4 tests
Analyzing server-side resources used by Shipink
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 34.39 ▼7.65 |
Dashboard /wp-admin | 3.39 ▲0.08 | 44.99 ▼3.85 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 50.23 ▲0.04 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.82 ▼10.45 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.69 ▲0.02 |
Shipink /wp-admin/admin.php?page=wc-shipink | 3.28 | 32.87 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shipink
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲140 | 13.74 ▼0.60 | 8.05 ▲6.35 | 38.10 ▼6.32 |
Dashboard /wp-admin | 2,196 ▲22 | 5.61 ▼0.10 | 96.21 ▲4.24 | 43.40 ▲0.95 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.00 | 39.29 ▼3.21 | 37.29 ▲2.40 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.29 ▲0.38 | 598.11 ▼67.49 | 53.76 ▼0.61 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.27 ▲0.08 | 95.63 ▼5.62 | 42.24 ▼2.81 |
Shipink /wp-admin/admin.php?page=wc-shipink | 776 | 2.01 | 24.16 | 38.34 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/shipink/admin/partials/shipink-admin-display.php
- > /wp-content/plugins/shipink/public/partials/shipink-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 27 tag instead of maximum 10
shipink/shipink.php Passed 13 tests
The primary PHP file in "Shipink" version 1.1.0 is used by WordPress to initiate all plugin functionality
135 characters long description:
Shipink is a new and innovative way for e-commerce companies to easily integrate and use the shipping companies they want to work with.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected510 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 144 | 533 | 466 |
PO File | 2 | 4 | 0 | 38 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 25 | 78.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 21.88% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin