68% image-hover-effects-ultimate-visual-composer

Code Review | Flipbox - Awesomes Flip Boxes Image Overlay

WordPress plugin Flipbox - Awesomes Flip Boxes Image Overlay scored68%from 54 tests.

About plugin

  • Plugin page: image-hover-effec...
  • Plugin version: 2.9.4
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.4.1
  • WordPress version: 6.3.1
  • First release: Jun 22, 2017
  • Latest release: Nov 19, 2023
  • Number of updates: 61
  • Update frequency: every 38.6 days
  • Top authors: biplob018 (100%)

Code review

54 tests

User reviews

128 reviews

Install metrics

10,000+ active /195,201 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.13MB] [CPU: ▼5.77ms] Passed 4 tests

Server-side resources used by Flipbox - Awesomes Flip Boxes Image Overlay
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1333.98 ▼6.96
Dashboard /wp-admin3.45 ▲0.1146.51 ▼15.49
Posts /wp-admin/edit.php3.57 ▲0.2147.30 ▼0.56
Add New Post /wp-admin/post-new.php6.04 ▲0.1590.91 ▼0.07
Media Library /wp-admin/upload.php3.38 ▲0.1537.79 ▲3.73
Oxilab Addons /wp-admin/admin.php?page=oxi-flip-box-ultimate-addons3.44484.68
Settings /wp-admin/admin.php?page=oxi-flip-box-ultimate-settings3.4136.98
Flip Box /wp-admin/admin.php?page=oxi-flip-box-ultimate3.4337.41
Import Templates /wp-admin/admin.php?page=oxi-flip-box-ultimate-import7.2373.64
Create New /wp-admin/admin.php?page=oxi-flip-box-ultimate-new4.1977.65
Welcome To Flipbox - Awesomes Flip Boxes Image Overlay /wp-admin/index.php?page=oxi-flip-box-activation3.3529.56

Server storage [IO: ▲6.84MB] [DB: ▲0.01MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 191 new files
Database: 3 new tables, 9 new options
New tables
wp_oxi_div_list
wp_oxi_div_import
wp_oxi_div_style
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_oxi_flip_box_widget
oxilab_flip_box_activation_date
widget_recent-comments
oxilab_flip_box_version

Browser metrics Passed 4 tests

An overview of browser requirements for Flipbox - Awesomes Flip Boxes Image Overlay
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲7014.24 ▼0.142.03 ▲0.2936.71 ▼6.97
Dashboard /wp-admin2,234 ▲535.57 ▼0.1292.41 ▼12.8143.22 ▲3.62
Posts /wp-admin/edit.php2,142 ▲421.95 ▼0.0140.73 ▲1.5637.84 ▼2.24
Add New Post /wp-admin/post-new.php1,560 ▲3423.12 ▼0.16631.12 ▲0.1852.91 ▲1.99
Media Library /wp-admin/upload.php1,436 ▲364.14 ▼0.10100.52 ▲1.4044.01 ▲1.30
Oxilab Addons /wp-admin/admin.php?page=oxi-flip-box-ultimate-addons1,1491.9627.6685.30
Settings /wp-admin/admin.php?page=oxi-flip-box-ultimate-settings1,1861.9030.2446.21
Flip Box /wp-admin/admin.php?page=oxi-flip-box-ultimate1,3312.7368.4588.94
Import Templates /wp-admin/admin.php?page=oxi-flip-box-ultimate-import6,4352.1052.65684.10
Create New /wp-admin/admin.php?page=oxi-flip-box-ultimate-new2,1321.5436.02330.70
Welcome To Flipbox - Awesomes Flip Boxes Image Overlay /wp-admin/index.php?page=oxi-flip-box-activation1,4498.95270.2578.55

Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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
  • The plugin did not uninstall successfully, leaving 3 tables in the database
    • wp_oxi_div_list
    • wp_oxi_div_import
    • wp_oxi_div_style
  • Zombie WordPress options were found after uninstall: 9 options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • oxilab_flip_box_version
    • widget_recent-posts
    • widget_recent-comments
    • widget_oxi_flip_box_widget
    • oxilab_flip_box_activation_date
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for 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 | 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
Please fix the following
  • 36× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'OXI_FLIP_BOX_PLUGINS\\Page\\Admin_Render' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Inc/Style24.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'OXI_FLIP_BOX_PLUGINS\\Page\\Admin_Render' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Inc/Style23.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'OXI_FLIP_BOX_PLUGINS\\Page\\Admin_Render' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Inc/Style27.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'OXI_FLIP_BOX_PLUGINS\\Page\\Admin_Render' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Inc/Style6.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'OXI_FLIP_BOX_PLUGINS\\Page\\Admin_Render' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Inc/Style25.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'OXI_FLIP_BOX_PLUGINS\\Page\\Admin_Render' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Inc/Style26.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'OXI_FLIP_BOX_PLUGINS\\Page\\Admin_Render' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Inc/Style5.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'OXI_FLIP_BOX_PLUGINS\\Page\\Admin_Render' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Inc/Style15.php:13
    • > PHP Fatal error
      Trait 'OXI_FLIP_BOX_PLUGINS\\Inc_Helper\\Public_Helper' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Page/Import.php on line 10
    • > PHP Fatal error
      Uncaught Error: Class 'OXI_FLIP_BOX_PLUGINS\\Page\\Admin_Render' not found in wp-content/plugins/image-hover-effects-ultimate-visual-composer/Inc/Style8.php:13

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
    • > GET request to /wp-admin/index.php?page=oxi-flip-box-activation
    • > Other (warning) in unknown
    /wp-admin/index.php?page=oxi-flip-box-activation 169 is not supported. Use , https://goo.gl/ximf56

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed: The official readme.txt is a good inspiration

image-hover-effects-ultimate-visual-composer/index.php 92% from 13 tests

The main PHP script in "Flipbox - Awesomes Flip Boxes Image Overlay" version 2.9.4 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("image-hover-effects-ultimate-visual-composer.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin55,531 lines of code in 169 files:
LanguageFilesBlank linesComment linesLines of code
PHP801,1701,04721,112
JavaScript4627415913,556
CSS409775811,974
SVG30128,889

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity8.92
▷ Minimum class complexity1.00
▷ Maximum class complexity109.00
Average method complexity2.73
▷ Minimum method complexity1.00
▷ Maximum method complexity58.00
Code structure
Namespaces6
Interfaces0
Traits4
Classes73
▷ Abstract classes00.00%
▷ Concrete classes73100.00%
▷ Final classes00.00%
Methods354
▷ Static methods41.13%
▷ Public methods35098.87%
▷ Protected methods10.28%
▷ Private methods30.85%
Functions5
▷ Named functions00.00%
▷ Anonymous functions5100.00%
Constants11
▷ Global constants654.55%
▷ Class constants545.45%
▷ Public constants5100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
asset/backend/js/img/trans_bg.png0.08KB0.09KB0.00%
asset/backend/css/img/trans_bg.png0.08KB0.09KB0.00%
image/logo.png17.36KB7.34KB▼ 57.73%
asset/backend/css/icon-close-white.png1.07KB0.26KB▼ 75.82%
asset/backend/css/icon-close-black.png1.08KB0.26KB▼ 75.88%