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.01MB] [CPU: ▼1.33ms] Passed 4 tests
An overview of server-side resources used by Claudio Sanches - MundiPagg for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.66 ▲2.34 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.46 ▼1.95 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.01 ▼5.15 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.26 ▼0.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.48 ▲2.78 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
wc_mundipagg_version_on_install |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Claudio Sanches - MundiPagg for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.17 ▼0.18 | 1.57 ▼0.09 | 39.85 ▼4.65 |
Dashboard /wp-admin | 2,203 ▲23 | 5.61 ▲0.07 | 88.43 ▼0.45 | 40.50 ▼0.56 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 1.97 ▼0.14 | 39.67 ▲4.92 | 36.39 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.54 ▲0.41 | 673.50 ▲58.71 | 53.72 ▲0.46 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.18 ▼0.02 | 95.52 ▼10.60 | 47.15 ▲2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/woocommerce-mundipagg/uninstall.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: woocommerce, payment gateway
woocommerce-mundipagg/woocommerce-mundipagg.php Passed 13 tests
"Claudio Sanches - MundiPagg for WooCommerce" version 2.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
33 characters long description:
MundiPagg gateway for WooCommerce
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
No dangerous file extensions were detected1,326 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 278 | 477 | 1,312 |
JavaScript | 2 | 4 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 39.50 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 8 | 16.33% |
▷ Public methods | 38 | 77.55% |
▷ Protected methods | 9 | 18.37% |
▷ Private methods | 2 | 4.08% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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