83% toolkits-addons

Code Review | Toolkits Addons

WordPress plugin Toolkits Addons scored 83% from 54 tests.

About plugin

  • Plugin page: toolkits-addons
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.8
  • WordPress version: 6.3.1
  • First release: Jan 12, 2022
  • Latest release: Jan 20, 2022
  • Number of updates: 9
  • Update frequency: every 3.4 days
  • Top authors: ashathemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 287 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.01ms] Passed 4 tests

Analyzing server-side resources used by Toolkits Addons
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.84 ▼6.20
Dashboard /wp-admin3.31 ▲0.0146.42 ▲0.91
Posts /wp-admin/edit.php3.36 ▲0.0145.53 ▼2.41
Add New Post /wp-admin/post-new.php5.89 ▲0.0180.14 ▼16.25
Media Library /wp-admin/upload.php3.23 ▲0.0034.76 ▲0.82

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Toolkits Addons
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲8314.48 ▲0.101.70 ▼0.1835.88 ▼10.51
Dashboard /wp-admin2,224 ▲365.83 ▼0.07103.26 ▼14.4543.55 ▼0.73
Posts /wp-admin/edit.php2,106 ▲172.05 ▲0.0136.12 ▼0.1637.26 ▲4.50
Add New Post /wp-admin/post-new.php1,552 ▲3823.21 ▲5.65672.05 ▲43.5453.83 ▲4.62
Media Library /wp-admin/upload.php1,406 ▲154.23 ▲0.03107.31 ▲11.5947.74 ▲7.44

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% 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
The following issues need your attention
  • 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-skills.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-pricing-table.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-icon.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-bannar.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-action.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-carousel.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-testimonial.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-popular.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-count-box.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/toolkits-addons/widgets/elementor-slider.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6 in toolkits-addons/assets to your readme.txt
The official readme.txt is a good inspiration

toolkits-addons/toolkits-addons.php 85% from 13 tests

Analyzing the main PHP file in "Toolkits Addons" version 1.0.1
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 171 characters long)
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin12,759 lines of code in 37 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.09
Average class complexity3.38
▷ Minimum class complexity1.00
▷ Maximum class complexity8.00
Average method complexity1.37
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes13100.00%
▷ Final classes17.69%
▷ Static methods11.20%
▷ Public methods5971.08%
▷ Protected methods2428.92%
▷ Private methods00.00%
▷ Named functions5100.00%
▷ Anonymous functions00.00%
▷ Global constants125.00%
▷ Class constants375.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin