84% animated-icon-banner-for-visual-composer

Code Review | Essential Doo Components for Visual Composer

WordPress plugin Essential Doo Components for Visual Composer scored84%from 54 tests.

About plugin

  • Plugin page: animated-icon-ban...
  • Plugin version: 1.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.0
  • WordPress version: 6.3.1
  • First release: Jun 4, 2015
  • Latest release: Jun 24, 2015
  • Number of updates: 44
  • Update frequency: every 0.5 days
  • Top authors: diego.benna (100%)

Code review

54 tests

User reviews

1 review

Install metrics

600+ active /15,878 total downloads

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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.08MB] [CPU: ▲1.52ms] Passed 4 tests

An overview of server-side resources used by Essential Doo Components for Visual Composer
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0940.74 ▲3.23
Dashboard /wp-admin3.39 ▲0.0949.84 ▲2.00
Posts /wp-admin/edit.php3.44 ▲0.0846.41 ▼0.54
Add New Post /wp-admin/post-new.php5.97 ▲0.08102.11 ▲13.59
Media Library /wp-admin/upload.php3.31 ▲0.0833.52 ▲1.37

Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Essential Doo Components for Visual Composer
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.27 ▼1.114.48 ▲2.7542.17 ▼0.02
Dashboard /wp-admin2,205 ▲135.86 ▲0.8996.90 ▼20.3544.27 ▼1.34
Posts /wp-admin/edit.php2,091 ▲22.02 ▼0.0234.49 ▼6.9834.81 ▼0.12
Add New Post /wp-admin/post-new.php1,525 ▲1118.73 ▲1.19593.99 ▼91.1650.08 ▼6.08
Media Library /wp-admin/upload.php1,381 ▼74.22 ▼0.05101.65 ▲4.1140.13 ▼4.30

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
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

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
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animated-icon-banner-for-visual-composer/vc_doo_banner.php:20

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)
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: visual composer, banner, carousel

animated-icon-banner-for-visual-composer/vc_doo_banner.php 92% from 13 tests

Analyzing the main PHP file in "Essential Doo Components for Visual Composer" version 1.9
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("animated-icon-banner-for-visual-composer.php" instead of "vc_doo_banner.php")

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
Everything looks great! No dangerous files found in this plugin11,515 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript112,0861,4679,171
CSS10230901,488
PHP17215513
HTML1134207
PO File14853135
JSON1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.05
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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
10 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/grabbing.png0.11KB0.14KB0.00%
documentation/assets/images/image_1.png3.99KB3.99KB0.00%
piccoligiganti-logo.png1.14KB1.51KB0.00%
video-banner.png0.56KB0.25KB▼ 55.15%
icon-banner.png1.08KB0.38KB▼ 65.35%