Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼1.93MB] [CPU: ▼54.86ms] Passed 4 tests
An overview of server-side resources used by Tegudores
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.15 ▼37.06 |
Dashboard /wp-admin | 2.08 ▼1.22 | 11.55 ▼37.29 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 6.68 ▼49.47 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.15 ▼95.60 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 6.20 ▼28.87 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Tegudores
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 14.48 ▲0.05 | 1.84 ▲0.08 | 39.62 ▼4.72 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼1.03 | 111.34 ▼3.57 | 41.81 ▼2.04 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.01 ▼0.01 | 34.99 ▼3.42 | 28.91 ▼4.79 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.38 ▼1.24 | 677.33 ▲69.69 | 56.22 ▲4.38 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▼0.00 | 98.02 ▼2.47 | 41.30 ▼0.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5453
Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/teguidores/teguidores.php:168
- > PHP Fatal error
Uncaught Error: Call to undefined function obtener_seguidores_de_twitter() in wp-content/plugins/teguidores/visual.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Requires at least: The plugin version is formatted incorrectly
- Screenshots: Add an image for screenshot #1 (Widget)
teguidores/teguidores.php Passed 13 tests
"Tegudores" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
Muestra de forma visual tus seguidores de Twitter, Facebook y RSS
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
Success! There were no dangerous files found in this plugin109 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 30 | 109 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imagenes/twitter.png | 3.89KB | 2.75KB | ▼ 29.26% |
imagenes/rss.png | 3.84KB | 2.75KB | ▼ 28.50% |
imagenes/facebook.png | 3.66KB | 2.79KB | ▼ 23.89% |
screenshot-1.png | 12.51KB | 6.09KB | ▼ 51.33% |