Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.49ms] Passed 4 tests
An overview of server-side resources used by Tracking La Poste for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.22 | 46.72 ▲3.17 |
Dashboard /wp-admin | 3.78 ▲0.21 | 64.87 ▲9.90 |
Posts /wp-admin/edit.php | 3.83 ▲0.15 | 48.87 ▼6.41 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.15 | 100.96 ▼10.06 |
Media Library /wp-admin/upload.php | 3.64 ▲0.15 | 39.34 ▲3.36 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tracking La Poste for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.38 ▲0.24 | 1.71 ▼0.34 | 40.38 ▼2.30 |
Dashboard /wp-admin | 2,194 ▲14 | 5.65 ▲0.02 | 87.30 ▼4.93 | 38.49 ▼7.61 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.04 ▲0.01 | 35.72 ▼1.55 | 34.54 ▼1.08 |
Add New Post /wp-admin/post-new.php | 1,542 ▲11 | 23.24 ▲0.00 | 636.51 ▲3.03 | 50.73 ▲0.25 |
Media Library /wp-admin/upload.php | 1,399 ▼1 | 4.25 ▲0.07 | 96.93 ▼14.07 | 39.34 ▼4.86 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/tracking-la-poste-for-woocommerce/includes/class-wc-la-poste-tracking-integration.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/tracking-la-poste-for-woocommerce/tracking-la-poste-for-woocommerce.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: colissimo, woocommerce, la poste, e-commerce, chronopost
tracking-la-poste-for-woocommerce/tracking-la-poste-for-woocommerce.php Passed 13 tests
"Tracking La Poste for WooCommerce" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
67 characters long description:
Add tracking number to order package and update status dynamically.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin848 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 237 | 410 | 704 |
PO File | 1 | 26 | 42 | 71 |
JavaScript | 2 | 19 | 4 | 69 |
Markdown | 1 | 3 | 0 | 3 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 9.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 46 | |
▷ Static methods | 1 | 2.17% |
▷ Public methods | 45 | 97.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.17% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin