Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.14ms] Passed 4 tests
This is a short check of server-side resources used by Mantenimiento web
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.30 ▲2.65 |
Dashboard /wp-admin | 3.31 ▼0.03 | 46.95 ▼15.80 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.87 ▲1.45 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.55 ▼6.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.25 ▲0.52 |
Mantenimiento Web /wp-admin/tools.php?page=cdp_mantenimiento_web | 3.23 | 32.54 |
Server storage [IO: ▲0.54MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
cdp_mantenimiento_web_mensajes |
Browser metrics Passed 4 tests
Checking browser requirements for Mantenimiento web
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.23 ▼0.42 | 1.81 ▲0.14 | 39.65 ▼1.38 |
Dashboard /wp-admin | 2,204 ▲27 | 5.61 ▼0.06 | 89.29 ▲1.43 | 36.48 ▼2.54 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▲0.05 | 34.84 ▼3.94 | 33.49 ▲2.18 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.03 ▼0.29 | 601.06 ▼29.57 | 50.79 ▼11.50 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.19 ▲0.05 | 104.39 ▲3.85 | 42.26 ▲2.01 |
Mantenimiento Web /wp-admin/tools.php?page=cdp_mantenimiento_web | 933 | 2.02 | 24.40 | 26.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- cdp_mantenimiento_web_mensajes
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/mantenimiento-web/frontal-fx/index.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/mantenimiento-web/frontal/index.php:25
- > PHP Warning
Use of undefined constant CDP_MANTENIMIENTO_URL_FRONTAL - assumed 'CDP_MANTENIMIENTO_URL_FRONTAL' (this will throw an Error in a future version of PHP) in wp-content/plugins/mantenimiento-web/frontal/index.php on line 21
- > PHP Notice
Undefined variable: plantilla in wp-content/plugins/mantenimiento-web/frontal/index.php on line 22
- > PHP Warning
Use of undefined constant CDP_MANTENIMIENTO_URL_FRONTAL_FX - assumed 'CDP_MANTENIMIENTO_URL_FRONTAL_FX' (this will throw an Error in a future version of PHP) in wp-content/plugins/mantenimiento-web/frontal-fx/index.php on line 21
- > PHP Warning
Use of undefined constant CDP_MANTENIMIENTO_URL_FRONTAL_FX - assumed 'CDP_MANTENIMIENTO_URL_FRONTAL_FX' (this will throw an Error in a future version of PHP) in wp-content/plugins/mantenimiento-web/frontal-fx/index.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/mantenimiento-web/config.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
4 plugin tags: mantenimiento web, modo mantenimiento, pgina en construccin, mantenimiento wordpress
mantenimiento-web/mantenimiento-web.php 92% from 13 tests
The primary PHP file in "Mantenimiento web" version 0.14 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 166 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
Good job! No executable or dangerous file extensions detected1,002 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 105 | 244 | 757 |
JavaScript | 3 | 28 | 57 | 151 |
CSS | 2 | 6 | 15 | 91 |
Markdown | 1 | 3 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 28 | 96.55% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.45% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 18 | |
▷ Global constants | 11 | 61.11% |
▷ Class constants | 7 | 38.89% |
▷ Public constants | 7 | 100.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
7 PNG files occupy 0.14MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
frontal-fx/img/burbuja-verde.png | 18.50KB | 14.12KB | ▼ 23.67% |
frontal-fx/img/burbuja-roja.png | 18.74KB | 14.40KB | ▼ 23.16% |
frontal-fx/img/burbuja-amarilla.png | 18.42KB | 13.97KB | ▼ 24.13% |
frontal-fx/img/burbuja-celeste.png | 30.53KB | 15.39KB | ▼ 49.60% |
frontal-fx/img/burbuja-morada.png | 18.12KB | 14.49KB | ▼ 20.03% |