90% hoo-addons-for-elementor

Code Review | Hoo Addons for Elementor

WordPress plugin Hoo Addons for Elementor scored90%from 54 tests.

About plugin

  • Plugin page: hoo-addons-for-el...
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9
  • WordPress version: 6.3.1
  • First release: Apr 2, 2021
  • Latest release: Mar 26, 2022
  • Number of updates: 17
  • Update frequency: every 21.1 days
  • Top authors: hoosoft (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /678 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

Server-side resources used by Hoo Addons for Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0846.60 ▲0.72
Dashboard /wp-admin3.38 ▲0.0848.15 ▼3.16
Posts /wp-admin/edit.php3.49 ▲0.1447.54 ▼13.01
Add New Post /wp-admin/post-new.php5.96 ▲0.07106.90 ▲2.68
Media Library /wp-admin/upload.php3.30 ▲0.0734.18 ▼4.51

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Hoo Addons for Elementor
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.78 ▲0.471.89 ▲0.2541.89 ▲1.45
Dashboard /wp-admin2,195 ▲185.58 ▼0.0391.27 ▼1.1041.12 ▲2.01
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0039.83 ▼1.8037.90 ▼0.59
Add New Post /wp-admin/post-new.php1,526 ▼223.54 ▲0.39615.15 ▼81.9555.26 ▼4.66
Media Library /wp-admin/upload.php1,400 ▼04.17 ▲0.0197.84 ▼12.9745.26 ▼5.10

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: elementor addons, elementor widgets

hoo-addons-for-elementor/hoo-addons-for-elementor.php 92% from 13 tests

The primary PHP file in "Hoo Addons for Elementor" version 1.0.6 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 451 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin35,984 lines of code in 35 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript104,0132,96126,299
CSS89172015,241
PHP166701653,943
SVG100501

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity7.00
▷ Minimum class complexity2.00
▷ Maximum class complexity39.00
Average method complexity1.64
▷ Minimum method complexity1.00
▷ Maximum method complexity32.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes15
▷ Abstract classes00.00%
▷ Concrete classes15100.00%
▷ Final classes00.00%
Methods141
▷ Static methods96.38%
▷ Public methods10171.63%
▷ Protected methods3726.24%
▷ Private methods32.13%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/frontend/images/cd.png6.60KB6.52KB▼ 1.18%
assets/frontend/images/cd_tou.png2.13KB2.13KB0.00%