Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.58MB] [CPU: ▼3.78ms] Passed 4 tests
Server-side resources used by Epic Tap Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.64 | 37.21 ▼1.60 |
Dashboard /wp-admin | 3.92 ▲0.62 | 46.69 ▲0.72 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 44.45 ▼2.10 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 83.38 ▼12.13 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 39.85 ▲7.39 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 51 new files
Database: no new tables, 24 new options
New WordPress options |
---|
widget_widget_epic_bonos_sin_deposito |
can_compress_scripts |
widget_epic_twitter_timeline_widget |
widget_widget_epic_promociones_destacadas |
widget_epic_fb_like_box_widget |
widget_widget_epic_chat_slim |
widget_widget_epic_recent_entries |
widget_widget_epic_newsletter |
db_upgraded |
widget_widget_epic_tags |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Epic Tap Widgets
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲113 | 13.48 ▼0.84 | 7.24 ▲5.57 | 47.15 ▲0.38 |
Dashboard /wp-admin | 2,192 ▲12 | 5.52 ▼0.14 | 85.05 ▼2.92 | 37.88 ▼2.51 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.02 | 33.14 ▼5.03 | 34.16 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.54 ▲0.72 | 694.74 ▲6.51 | 63.25 ▲1.48 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.27 ▲0.03 | 99.01 ▼2.06 | 45.91 ▲1.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 24 options in the database
- db_upgraded
- widget_recent-comments
- widget_widget_epic_nuestros_tipsters
- widget_widget_epic_random_news
- widget_widget_epic_articulos_relacionados
- widget_recent-posts
- can_compress_scripts
- widget_epic_fb_like_box_widget
- widget_widget_epic_chat_slim
- widget_widget_epic_casas_apuestas
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/epic-tap-widgets/public/partials/epic-tap-widgets-public-display.php
- > /wp-content/plugins/epic-tap-widgets/admin/partials/epic-tap-widgets-admin-display.php
- 21× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epic-tap-widgets/includes/widgets/widget-articulos-relacionados.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epic-tap-widgets/includes/widgets/widget-recent-post.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/epic-tap-widgets/tempate_part/content-pick.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epic-tap-widgets/includes/widgets/widget-concursos.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epic-tap-widgets/includes/widgets/widget-banner-promo.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epic-tap-widgets/includes/widgets/widget-twitter-timeline.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epic-tap-widgets/includes/widgets/widget-tags-cloud.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epic-tap-widgets/includes/widgets/widget-casas-apuestas.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epic-tap-widgets/includes/widgets/widget-facebox-like-box.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epic-tap-widgets/includes/widgets/widget-enlaces.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
epic-tap-widgets/epic-tap-widgets.php Passed 13 tests
The main PHP script in "Epic Tap Widgets" version 1.2.9 is automatically included on every request by WordPress
51 characters long description:
Widgets collection for TodoApuestas's blog network.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected3,941 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 318 | 1,145 | 2,053 |
CSS | 7 | 23 | 50 | 1,373 |
JavaScript | 4 | 153 | 105 | 515 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 2 | 1.80% |
▷ Public methods | 102 | 91.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 8.11% |
Functions | 3 | |
▷ Named functions | 3 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/css/img/bg-last-news.png | 0.93KB | 0.09KB | ▼ 90.58% |