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.00MB] [CPU: ▼6.32ms] Passed 4 tests
Server-side resources used by Colissimo Delivery Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.01 ▼3.18 |
Dashboard /wp-admin | 3.31 ▲0.00 | 57.69 ▼0.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.23 ▼8.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.91 ▼12.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.51 ▲4.67 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
cdi_o_transferoldsettings |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
cdi_tokentimerswitchnewcdi |
Browser metrics Passed 4 tests
Colissimo Delivery Integration: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲53 | 14.35 ▲0.17 | 1.87 ▼0.25 | 43.67 ▼10.98 |
Dashboard /wp-admin | 2,195 ▲23 | 5.57 ▼0.13 | 88.75 ▼42.10 | 39.19 ▼9.53 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.03 | 39.13 ▼3.62 | 31.88 ▼3.70 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.01 ▼0.04 | 649.55 ▼15.79 | 50.53 ▼9.06 |
Media Library /wp-admin/upload.php | 1,397 ▲3 | 4.24 ▲0.01 | 111.85 ▼22.04 | 44.89 ▼5.53 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- cdi_tokentimerswitchnewcdi
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- cdi_o_transferoldsettings
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/colissimo-delivery-integration/colissimo-delivery-integration.php:35
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: colissimo, laposte, parcel, tracking, logistic...
colissimo-delivery-integration/colissimo-delivery-integration.php Passed 13 tests
The main file in "Colissimo Delivery Integration" v. 3.8.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
41 characters long description:
Easy Colissimo Services with WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,954 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 1 | 520 | 679 | 1,905 |
PHP | 2 | 14 | 51 | 49 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.15MB with 0.11MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 15.12KB | 2.64KB | ▼ 82.53% |
assets/banner-772x250.png | 32.84KB | 10.31KB | ▼ 68.61% |
assets/banner-1544x500.png | 84.54KB | 32.06KB | ▼ 62.08% |
assets/icon-256x256.png | 22.86KB | 5.24KB | ▼ 77.10% |