Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/web-en-construccion-indianwebs/en_construccion.php+128
Undefined index: set_opt
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.65ms] Passed 4 tests
Server-side resources used by Web en construccion IndianWebs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.58 ▲0.41 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.78 ▼3.53 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.98 ▲2.34 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 86.85 ▼13.82 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 39.23 ▲3.16 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- Illegal file modification detected: 32 files (0.00KB) outside of "wp-content/plugins/web-en-construccion-indianwebs/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site_files/genericons.css"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site_files/instagram.png"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site_files/facebook.png"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site.htm"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site_files/inject_jq.js"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site_files/dashicons.min.css"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site_files/googleplus.png"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site_files/admin-bar.min.css"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site_files/jquery-migrate.min.js"
- (new file) "wp-content/plugins/web-en-construccion-indianwebs/test \342\200\223 Just another WordPress site_files/css"
- ...
Filesystem: 50 new files
Database: no new tables, 8 new options
New WordPress options |
---|
set_font_color |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
set_bg_color |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Web en construccion IndianWebs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲44 | 13.21 ▼1.21 | 2.00 ▲0.03 | 42.01 ▼4.98 |
Dashboard /wp-admin | 2,224 ▲36 | 5.86 ▲0.05 | 106.46 ▼13.45 | 62.58 ▲19.63 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 1.99 ▼0.02 | 41.04 ▲4.78 | 37.09 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,680 ▲166 | 22.37 ▲4.83 | 664.38 ▼19.93 | 38.20 ▼12.17 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.13 ▼0.04 | 102.64 ▲0.51 | 75.58 ▲31.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- set_font_color
- set_bg_color
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/web-en-construccion-indianwebs/preview.php
- > /wp-content/plugins/web-en-construccion-indianwebs/trunk/preview.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/web-en-construccion-indianwebs/form.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/web-en-construccion-indianwebs/trunk/form.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/web-en-construccion-indianwebs/trunk/en_construccion.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/web-en-construccion-indianwebs/en_construccion.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: web en construccin, under construction page, pgina en construccin, indianwebs, coming soon page...
web-en-construccion-indianwebs/en_construccion.php 85% from 13 tests
"Web en construccion IndianWebs" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Git Repository: An alternative Git repository was detected
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("web-en-construccion-indianwebs.php" instead of "en_construccion.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected4,142 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 661 | 210 | 3,565 |
PHP | 3 | 136 | 45 | 476 |
HTML | 2 | 3 | 13 | 64 |
JSON | 1 | 7 | 0 | 27 |
JavaScript | 4 | 0 | 4 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
30 PNG files occupy 0.55MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
trunk/screenshot-1.png | 149.33KB | 43.47KB | ▼ 70.89% |
trunk/test – Just another WordPress site_files/googleplus.png | 0.90KB | 0.50KB | ▼ 44.06% |
trunk/facebook.png | 0.67KB | 0.40KB | ▼ 40.64% |
test – Just another WordPress site_files/facebook.png | 0.67KB | 0.40KB | ▼ 40.64% |
googleplus.png | 0.90KB | 0.50KB | ▼ 44.06% |