78% epic-tap-widgets

Code Review | Epic Tap Widgets

WordPress plugin Epic Tap Widgets scored78%from 54 tests.

About plugin

  • Plugin page: epic-tap-widgets
  • Plugin version: 1.2.9
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.5.3
  • WordPress version: 6.3.1
  • First release: Nov 19, 2020
  • Latest release: Dec 11, 2022
  • Number of updates: 22
  • Update frequency: every 34.2 days
  • Top authors: mrbrazzi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,050 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /4.11 ▲0.6437.21 ▼1.60
Dashboard /wp-admin3.92 ▲0.6246.69 ▲0.72
Posts /wp-admin/edit.php3.97 ▲0.6144.45 ▼2.10
Add New Post /wp-admin/post-new.php6.44 ▲0.5583.38 ▼12.13
Media Library /wp-admin/upload.php3.78 ▲0.5539.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

Browser metrics Passed 4 tests

Checking browser requirements for Epic Tap Widgets
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,874 ▲11313.48 ▼0.847.24 ▲5.5747.15 ▲0.38
Dashboard /wp-admin2,192 ▲125.52 ▼0.1485.05 ▼2.9237.88 ▼2.51
Posts /wp-admin/edit.php2,100 ▼02.00 ▲0.0233.14 ▼5.0334.16 ▲2.10
Add New Post /wp-admin/post-new.php1,526 ▼023.54 ▲0.72694.74 ▲6.5163.25 ▲1.48
Media Library /wp-admin/upload.php1,394 ▼64.27 ▲0.0399.01 ▼2.0645.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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


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
You can look at the official readme.txt

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:
LanguageFilesBlank linesComment linesLines of code

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 code0.30
Average class complexity11.93
▷ Minimum class complexity1.00
▷ Maximum class complexity28.00
Average method complexity3.66
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes27100.00%
▷ Final classes00.00%
▷ Static methods21.80%
▷ Public methods10291.89%
▷ Protected methods00.00%
▷ Private methods98.11%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
public/css/img/bg-last-news.png0.93KB0.09KB▼ 90.58%