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.02MB] [CPU: ▲1.96ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Parcelas com e sem Juros
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.84 ▼8.09 |
Dashboard /wp-admin | 3.33 ▲0.02 | 56.72 ▲7.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.70 ▲4.68 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 107.88 ▲11.18 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.45 ▲3.80 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Parcelas com e sem Juros
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 13.24 ▼0.99 | 1.77 ▼0.49 | 37.31 ▼9.27 |
Dashboard /wp-admin | 2,219 ▲31 | 4.88 ▼0.98 | 146.21 ▲36.09 | 50.69 ▲8.79 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.06 ▲0.04 | 38.51 ▼1.70 | 34.24 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 22.99 ▼0.10 | 638.15 ▼0.14 | 50.44 ▼8.03 |
Media Library /wp-admin/upload.php | 1,401 ▲19 | 4.16 ▼0.09 | 107.04 ▲4.75 | 48.11 ▼2.02 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Woocommerce_Parcelas_Meta_Box' not found in wp-content/plugins/woo-parcelas-com-e-sem-juros/public/class-woo-parcelas-com-e-sem-juros-public.php:6
- > PHP Fatal error
Uncaught Error: Class 'Woocommerce_Parcelas_Settings' not found in wp-content/plugins/woo-parcelas-com-e-sem-juros/admin/class-woo-parcelas-com-e-sem-juros-meta-box.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-parcelas-com-e-sem-juros/admin/class-woo-parcelas-com-e-sem-juros-settings.php:46
- > PHP Fatal error
Uncaught Error: Class 'WooCommerce_Parcelas_Settings' not found in wp-content/plugins/woo-parcelas-com-e-sem-juros/public/css/woo-parcelas-com-e-sem-juros-public.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
woo-parcelas-com-e-sem-juros/woo-parcelas-com-e-sem-juros.php 92% from 13 tests
Analyzing the main PHP file in "WooCommerce Parcelas com e sem Juros" version 1.6.1
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 186 characters long)
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
Success! There were no dangerous files found in this plugin1,266 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 208 | 323 | 998 |
JavaScript | 5 | 41 | 4 | 205 |
CSS | 1 | 0 | 0 | 63 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 9.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 3 | 9.09% |
▷ Public methods | 31 | 93.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.06% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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