Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.03ms] Passed 4 tests
Analyzing server-side resources used by Simulador de Parcelas - Taxas avançadas
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.21 ▲1.38 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.07 ▼6.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.85 ▲1.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.49 ▼4.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.60 ▲1.91 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Simulador de Parcelas - Taxas avançadas
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 13.25 ▼1.02 | 1.73 ▲0.19 | 45.17 ▲0.79 |
Dashboard /wp-admin | 2,233 ▲30 | 4.84 ▼0.09 | 97.75 ▼6.37 | 42.54 ▼3.16 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.00 ▲0.02 | 40.82 ▲5.68 | 39.31 ▲4.36 |
Add New Post /wp-admin/post-new.php | 1,559 ▲14 | 23.19 ▲2.18 | 606.31 ▼117.72 | 53.42 ▲1.48 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.23 ▼0.02 | 100.90 ▼11.58 | 47.87 ▲1.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
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
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 90% from 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
2 plugin tags: parcelas, woocommerce
simulador-de-parcelas-taxas-avancadas/wc-installments-advanced-fees.php 77% from 13 tests
"Simulador de Parcelas - Taxas avançadas" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simulador-de-parcelas-taxas-avancadas.php" instead of "wc-installments-advanced-fees.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.5" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected111 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 22 | 51 | 111 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
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
No PNG files were detected