Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼4.55ms] Passed 4 tests
This is a short check of server-side resources used by Libro de Reclamaciones y Quejas
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 45.32 ▲3.17 |
Dashboard /wp-admin | 3.55 ▲0.25 | 46.03 ▼5.01 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 53.77 ▼3.54 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 89.28 ▼12.81 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 41.14 ▲4.99 |
Libro de Reclamaciones /wp-admin/admin.php?page=libro_settings | 3.42 | 33.80 |
Server storage [IO: ▲9.81MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 323 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_rt_libro |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
rt_libro_db_version |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Libro de Reclamaciones y Quejas
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲80 | 14.75 ▲0.40 | 1.99 ▲0.26 | 45.16 ▲3.41 |
Dashboard /wp-admin | 2,220 ▲43 | 5.59 ▼0.09 | 83.37 ▼7.14 | 40.98 ▼2.16 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.97 ▼0.07 | 35.25 ▼4.51 | 39.29 ▲3.24 |
Add New Post /wp-admin/post-new.php | 1,567 ▲41 | 23.36 ▲5.86 | 670.91 ▼6.53 | 53.36 ▼4.36 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.31 ▲0.12 | 103.23 ▼2.39 | 46.19 ▼3.75 |
Libro de Reclamaciones /wp-admin/admin.php?page=libro_settings | 818 | 2.19 | 27.96 | 28.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_rt_libro
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- rt_libro_db_version
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=libro_settings
- > Notice in wp-content/plugins/libro-de-reclamaciones-y-quejas/libro_admin.php+453
Undefined index: tab
SRP 0% 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 fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/libro-de-reclamaciones-y-quejas/template/rt-libro-pdf.php
- > /wp-content/plugins/libro-de-reclamaciones-y-quejas/vendor/masterminds/html5/bin/entities.php
- 148× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\TrueType\\File' not found in wp-content/plugins/libro-de-reclamaciones-y-quejas/vendor/phenx/php-font-lib/src/FontLib/EOT/File.php:16
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Property\\Selector' not found in wp-content/plugins/libro-de-reclamaciones-y-quejas/vendor/sabberworm/php-css-parser/src/Property/KeyframeSelector.php:5
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\RuleValueList' not found in wp-content/plugins/libro-de-reclamaciones-y-quejas/vendor/sabberworm/php-css-parser/src/Value/CalcRuleValueList.php:7
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\Table\\DirectoryEntry' not found in wp-content/plugins/libro-de-reclamaciones-y-quejas/vendor/phenx/php-font-lib/src/FontLib/TrueType/TableDirectoryEntry.php:18
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameReflower\\AbstractFrameReflower' not found in wp-content/plugins/libro-de-reclamaciones-y-quejas/vendor/dompdf/dompdf/src/FrameReflower/NullFrameReflower.php:17
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\Table\\Table' not found in wp-content/plugins/libro-de-reclamaciones-y-quejas/vendor/phenx/php-font-lib/src/FontLib/Table/Type/kern.php:17
- > PHP Fatal error
Uncaught Error: Class 'Svg\\Tag\\Shape' not found in wp-content/plugins/libro-de-reclamaciones-y-quejas/vendor/phenx/php-svg-lib/src/Svg/Tag/Line.php:13
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/libro-de-reclamaciones-y-quejas/template/rt-libro-pdf.php on line 137
- > PHP Notice
Undefined variable: libro_data in wp-content/plugins/libro-de-reclamaciones-y-quejas/template/rt-libro-pdf.php on line 124
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameReflower\\AbstractFrameReflower' not found in wp-content/plugins/libro-de-reclamaciones-y-quejas/vendor/dompdf/dompdf/src/FrameReflower/Text.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: libro de reclamaciones peru, libro de reclamaciones plugin, libro de reclamaciones, libro de reclamaciones wordpress
libro-de-reclamaciones-y-quejas/rt-libro-reclamaciones.php 69% from 13 tests
Analyzing the main PHP file in "Libro de Reclamaciones y Quejas" version 0.1.8
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("libro-de-reclamaciones-y-quejas.php" instead of "rt-libro-reclamaciones.php")
- Requires at least: Required version must match the one declared in readme.txt ("5.2" instead of "5.6")
- Requires PHP: Required version must match the one declared in readme.txt ("5.6" instead of "5.6.20")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin46,592 lines of code in 246 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 210 | 8,577 | 16,740 | 41,072 |
JSON | 13 | 0 | 0 | 2,896 |
Markdown | 11 | 390 | 0 | 1,314 |
CSS | 2 | 115 | 38 | 562 |
PO File | 2 | 204 | 226 | 497 |
YAML | 4 | 29 | 0 | 121 |
JavaScript | 2 | 18 | 3 | 105 |
HTML | 1 | 0 | 0 | 17 |
SVG | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 32.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 811.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 187 | |
▷ Abstract classes | 12 | 6.42% |
▷ Concrete classes | 175 | 93.58% |
▷ Final classes | 0 | 0.00% |
Methods | 2,176 | |
▷ Static methods | 139 | 6.39% |
▷ Public methods | 1,713 | 78.72% |
▷ Protected methods | 405 | 18.61% |
▷ Private methods | 58 | 2.67% |
Functions | 51 | |
▷ Named functions | 24 | 47.06% |
▷ Anonymous functions | 27 | 52.94% |
Constants | 217 | |
▷ Global constants | 3 | 1.38% |
▷ Class constants | 214 | 98.62% |
▷ Public constants | 209 | 97.66% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/dompdf/dompdf/lib/res/broken_image.png | 0.60KB | 0.47KB | ▼ 22.33% |