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: ▼6.34ms] Passed 4 tests
Analyzing server-side resources used by Contribuinte Checkout
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.25 ▲0.67 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.89 ▼3.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.21 ▼4.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.21 ▼14.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.99 ▼2.54 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Contribuinte Checkout: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.66 ▲0.31 | 1.71 ▲0.20 | 42.39 ▲2.76 |
Dashboard /wp-admin | 2,192 ▲12 | 5.48 ▼0.19 | 87.54 ▼1.10 | 40.67 ▼8.32 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.19 | 40.14 ▲1.92 | 37.32 ▲4.88 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.52 ▲0.34 | 651.69 ▼2.36 | 62.62 ▲0.68 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.01 | 95.66 ▼2.51 | 41.54 ▼0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== Contribuinte Checkout ===
) - Screenshots: These screenshots require images: #1 (Settings where you can change VAT field behaviour.), #2 (Customers can add their VAT to their billing information.), #3 (VAT field in admin page.), #4 (Vies Information in admin page.)
contribuinte-checkout/contribuinte-checkout.php Passed 13 tests
This is the main PHP file of "Contribuinte Checkout" version 1.0.50, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
34 characters long description:
Add VAT information to your orders
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,300 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 243 | 450 | 1,060 |
PO File | 2 | 50 | 58 | 133 |
Markdown | 1 | 23 | 0 | 84 |
JSON | 2 | 0 | 0 | 23 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 6 | 9.38% |
▷ Public methods | 61 | 95.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.69% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
No PNG files were detected