Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.99ms] Passed 4 tests
A check of server-side resources used by Estadisticas Web
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.01 | 42.93 ▼0.35 |
Dashboard /wp-admin | 3.36 ▼0.03 | 51.05 ▼16.69 |
Posts /wp-admin/edit.php | 3.41 ▲0.01 | 50.31 ▼4.05 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.01 | 87.23 ▼4.60 |
Media Library /wp-admin/upload.php | 3.28 ▲0.01 | 37.14 ▼2.63 |
Estadisticas Web /wp-admin/options-general.php?page=awe_plugin | 3.25 | 31.54 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Estadisticas Web
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.48 ▲0.11 | 18.96 ▲17.01 | 45.79 ▼13.98 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▲0.00 | 85.58 ▼4.29 | 41.30 ▲0.28 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▼0.02 | 34.86 ▼5.42 | 35.13 ▼1.07 |
Add New Post /wp-admin/post-new.php | 1,529 ▲2 | 23.37 ▲0.12 | 682.87 ▲16.03 | 55.61 ▼3.03 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.18 ▼0.01 | 95.24 ▼6.70 | 41.27 ▼4.19 |
Estadisticas Web /wp-admin/options-general.php?page=awe_plugin | 829 | 2.02 | 25.15 | 37.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Modified settings panel with Estadisticas Web.), #2 (Estadisticas Web settings page.)
estadisticas-web/estadisticas-web.php Passed 13 tests
The entry point to "Estadisticas Web" version 0.1.1 is a PHP file that has certain tags in its header comment area
48 characters long description:
Estadisticas Web de la mano de Google Analytics.
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
There were no executable files found in this plugin124 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 8 | 33 | 124 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot2.png | 56.05KB | 23.27KB | ▼ 58.48% |
screenshot1.png | 8.92KB | 4.25KB | ▼ 52.33% |