Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.57MB] [CPU: ▼19.74ms] Passed 4 tests
Server-side resources used by Birttu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 42.65 ▲3.46 |
Dashboard /wp-admin | 3.45 ▲0.10 | 47.37 ▼17.74 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 38.96 ▼10.22 |
Add New Post /wp-admin/post-new.php | 3.28 ▼2.61 | 40.26 ▼54.46 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 37.74 ▲3.98 |
Server storage [IO: ▲1.86MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- You have illegally modified 1 file (49.63KB) outside of "wp-content/plugins/birttu-medios/" and "wp-content/uploads/"
- (new file) ads.txt
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Birttu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲59 | 14.34 ▼0.29 | 1.94 ▲0.21 | 44.32 ▲3.98 |
Dashboard /wp-admin | 2,211 ▲34 | 5.53 ▼0.14 | 80.25 ▼4.36 | 36.96 ▼7.95 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.01 ▲0.06 | 33.44 ▼1.40 | 34.06 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,551 ▲17 | 18.31 ▲0.35 | 593.43 ▼36.95 | 84.76 ▲20.20 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.20 ▲0.06 | 94.24 ▼3.45 | 41.98 ▲0.52 |
Uninstaller [IO: ▲0.05MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% 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)
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(): Failed opening 'estado_conexion.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/birttu-medios/indexj.php on line 3
- > PHP Warning
include_once(estado_conexion.php): failed to open stream: No such file or directory in wp-content/plugins/birttu-medios/indexj.php on line 3
- > PHP Warning
include(index_0.php): failed to open stream: No such file or directory in wp-content/plugins/birttu-medios/indexj.php on line 18
- > PHP Warning
file(config/configuracion.txt): failed to open stream: No such file or directory in wp-content/plugins/birttu-medios/indexj.php on line 6
- > PHP Warning
include(): Failed opening 'index_0.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/birttu-medios/indexj.php on line 18
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #11, #12 in birttu-medios/assets to your readme.txt
- Tags: There are too many tags (16 tag instead of maximum 10)
birttu-medios/birttu.php 77% from 13 tests
"Birttu" version 1.7.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("birttu-medios.php" instead of "birttu.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,935 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 303 | 21 | 1,723 |
PO File | 2 | 58 | 60 | 163 |
CSS | 1 | 0 | 0 | 38 |
JavaScript | 2 | 2 | 3 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
10 PNG files occupy 1.72MB with 0.97MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
speakpanel.png | 703.25KB | 294.67KB | ▼ 58.10% |
widget1.png | 113.91KB | 45.27KB | ▼ 60.26% |
widgetcomenta2.png | 222.32KB | 96.78KB | ▼ 56.47% |
config2.png | 172.14KB | 67.78KB | ▼ 60.63% |
widget2.png | 45.23KB | 24.34KB | ▼ 46.18% |