Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.91ms] Passed 4 tests
Analyzing server-side resources used by WP Indicador de Progreso de Lectura
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 45.53 ▲0.49 |
Dashboard /wp-admin | 3.39 ▲0.09 | 52.07 ▼3.79 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.42 ▼2.58 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 88.25 ▼13.77 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.97 ▲0.59 |
Reading Progress Indicator /wp-admin/options-general.php?page=wpipl_settings | 3.29 | 34.95 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wpipl_version |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
wpipl_color_barra_progreso |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Indicador de Progreso de Lectura
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▼0.38 | 1.92 ▼0.02 | 43.11 ▼2.11 |
Dashboard /wp-admin | 2,196 ▲19 | 5.57 ▼0.11 | 81.46 ▼9.96 | 35.93 ▼7.99 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.01 | 34.87 ▼3.24 | 32.28 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,529 ▼16 | 17.54 ▼5.86 | 663.46 ▼21.23 | 53.39 ▲2.59 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.21 ▼0.08 | 97.79 ▼20.09 | 42.78 ▼3.74 |
Reading Progress Indicator /wp-admin/options-general.php?page=wpipl_settings | 919 | 2.13 | 33.90 | 35.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: lectura, indicador, progreso, barra, entrada
wp-indicador-de-progreso-de-lectura/wp-ipl.php 85% from 13 tests
The primary PHP file in "WP Indicador de Progreso de Lectura" version 1.6.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-indicador-de-progreso-de-lectura.php" instead of "wp-ipl.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 154 characters long)
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
There were no executable files found in this plugin468 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 163 | 262 | 397 |
JavaScript | 4 | 10 | 17 | 33 |
CSS | 2 | 5 | 0 | 23 |
Markdown | 1 | 10 | 0 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 15.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.90% |
Functions | 1 | |
▷ Named functions | 1 | 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 are no PNG files in this plugin