Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.54ms] Passed 4 tests
Analyzing server-side resources used by Sume Clientes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.00 ▼0.46 | 22.08 ▼21.10 |
Dashboard /wp-admin | 3.50 ▲0.20 | 49.75 ▼1.22 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 55.57 ▲4.91 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 86.49 ▼13.11 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 37.28 ▲1.29 |
Variaciones /wp-admin/admin.php?page=variaciones | 3.43 | 34.63 |
Configuracion /wp-admin/admin.php?page=configuracion | 3.41 | 47.16 |
Sume Clientes /wp-admin/admin.php?page=sume_clientes | 3.43 | 33.25 |
Server storage [IO: ▲1.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 41 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_sume_clientes_variaciones |
wp_sume_clientes_paginas |
wp_sume_clientes_conf |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sume Clientes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲57 | 13.18 ▼1.11 | 1.90 ▼0.15 | 42.14 ▲4.37 |
Dashboard /wp-admin | 2,235 ▲53 | 4.91 ▼0.00 | 107.51 ▼1.32 | 77.49 ▲34.67 |
Posts /wp-admin/edit.php | 2,115 ▲29 | 2.02 ▲0.03 | 39.01 ▲3.00 | 36.69 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.16 ▼0.26 | 786.45 ▲154.91 | 58.44 ▲6.70 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.22 ▼0.00 | 102.50 ▼1.46 | 70.14 ▲24.50 |
Variaciones /wp-admin/admin.php?page=variaciones | 828 | 2.24 | 35.32 | 85.74 |
Configuracion /wp-admin/admin.php?page=configuracion | 878 | 2.22 | 32.87 | 37.40 |
Sume Clientes /wp-admin/admin.php?page=sume_clientes | 852 | 2.19 | 27.82 | 36.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/sumeclientes/sumeclientes.php+92
Undefined variable: ids
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sume_clientes
- > Notice in wp-content/plugins/sumeclientes/paginas_captura.php+8
Undefined offset: 0
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sume_clientes
- > Notice in wp-content/plugins/sumeclientes/paginas_captura.php+8
Trying to access array offset on value of type null
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
Congratulations! This plugin passed the SRP test
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: mercadeo en lnea basado en resultados, pginas de captura, sume clientes
sumeclientes/sumeclientes.php 92% from 13 tests
Analyzing the main PHP file in "Sume Clientes" version 0.1.12
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 159 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin7,273 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 70 | 22 | 3,433 |
JavaScript | 12 | 375 | 104 | 1,844 |
PHP | 6 | 6 | 185 | 1,329 |
SVG | 2 | 0 | 0 | 643 |
JSON | 1 | 2 | 0 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 2.26KB | 1.44KB | ▼ 36.17% |
logo.png | 61.20KB | 30.29KB | ▼ 50.50% |