Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.02ms] Passed 4 tests
A check of server-side resources used by Integration Rede for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.64 ▼7.55 |
Dashboard /wp-admin | 3.34 ▲0.03 | 53.49 ▼2.13 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.92 ▼4.56 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 99.44 ▲6.15 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.64 ▲6.93 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 270 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Integration Rede for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.33 ▼0.26 | 2.10 ▲0.37 | 45.73 ▲2.05 |
Dashboard /wp-admin | 2,207 ▲30 | 5.51 ▼0.10 | 88.11 ▼12.31 | 41.65 ▼0.77 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.03 ▲0.06 | 35.53 ▼3.06 | 36.30 ▲1.75 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.26 ▲0.16 | 641.82 ▼45.31 | 52.02 ▲1.83 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.23 ▲0.03 | 98.49 ▼9.57 | 44.62 ▼3.78 |
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-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 189× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/woo-rede/vendor/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/woo-rede/vendor/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/woo-rede/vendor/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/woo-rede/vendor/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/woo-rede/vendor/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php:19
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/woo-rede/vendor/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php:31
- > PHP Fatal error
Uncaught Error: Interface 'Rede\\RedeSerializable' not found in wp-content/plugins/woo-rede/vendor/developersrede/erede-php/src/Rede/Additional.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/woo-rede/vendor/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php:35
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/woo-rede/vendor/monolog/monolog/tests/Monolog/Handler/HandlerWrapperTest.php:19
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\StreamHandler' not found in wp-content/plugins/woo-rede/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in woo-rede/assets to your readme.txt
woo-rede/integration-rede-for-woocommerce.php 85% from 13 tests
The principal PHP file in "Integration Rede for WooCommerce" v. 2.1.1 is loaded by WordPress automatically on each request
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: The principal plugin file should be the same as the plugin slug ("woo-rede.php" instead of "integration-rede-for-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin19,390 lines of code in 261 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 231 | 4,126 | 8,398 | 17,270 |
Markdown | 10 | 392 | 0 | 1,211 |
JSON | 4 | 0 | 0 | 295 |
SVG | 10 | 0 | 10 | 275 |
PO File | 1 | 81 | 82 | 187 |
CSS | 2 | 3 | 20 | 101 |
JavaScript | 2 | 9 | 30 | 35 |
XML | 1 | 3 | 0 | 16 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 5.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 9 | |
Traits | 4 | |
Classes | 224 | |
▷ Abstract classes | 10 | 4.46% |
▷ Concrete classes | 214 | 95.54% |
▷ Final classes | 0 | 0.00% |
Methods | 1,522 | |
▷ Static methods | 42 | 2.76% |
▷ Public methods | 1,249 | 82.06% |
▷ Protected methods | 191 | 12.55% |
▷ Private methods | 82 | 5.39% |
Functions | 88 | |
▷ Named functions | 11 | 12.50% |
▷ Anonymous functions | 77 | 87.50% |
Constants | 92 | |
▷ Global constants | 1 | 1.09% |
▷ Class constants | 91 | 98.91% |
▷ Public constants | 91 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin