Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.55ms] Passed 4 tests
Server-side resources used by Allparcels.com
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.05 ▼0.18 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.79 ▼2.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.44 ▲4.45 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.47 ▼12.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.45 ▲1.04 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Allparcels.com
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.33 ▼1.05 | 1.72 ▼0.01 | 41.21 ▼6.45 |
Dashboard /wp-admin | 2,209 ▲17 | 4.87 ▼0.08 | 104.09 ▼12.89 | 38.96 ▼2.74 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▼0.03 | 35.00 ▲0.18 | 30.96 ▼5.04 |
Add New Post /wp-admin/post-new.php | 1,514 ▼9 | 17.48 ▼5.68 | 692.13 ▲10.64 | 55.02 ▲0.73 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.18 ▲0.05 | 95.95 ▼4.84 | 42.46 ▼2.81 |
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
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/allparcels-shipping-module/includes/class-wc_allparcels_taskas.php:2
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/allparcels-shipping-module/includes/class-wc_allparcels_rankas.php:2
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/allparcels-shipping-module/includes/class-wc_allparcels_skyrius.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/allparcels-shipping-module/functions.php:6
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/allparcels-shipping-module/includes/class-wc_allparcels_pastomatas.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/allparcels-shipping-module/includes/help_buttons.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Donate link: Invalid URI ("")
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== allparcels-shipping-module ===
) - Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
allparcels-shipping-module/main.php 85% from 13 tests
The main file in "Allparcels.com" v. 2.4.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("allparcels-shipping-module.php" instead of "main.php")
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
Success! There were no dangerous files found in this plugin2,070 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 154 | 52 | 1,938 |
PO File | 1 | 49 | 157 | 121 |
CSS | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 23.80 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 36 | |
▷ Static methods | 4 | 11.11% |
▷ Public methods | 32 | 88.89% |
▷ Protected methods | 4 | 11.11% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin