84% exclusive-divi

Code Review | Exclusive Divi Modules for Divi Theme, Divi Builder and Extra Theme

WordPress plugin Exclusive Divi Modules for Divi Theme, Divi Builder and Extra Theme scored84%from 54 tests.

About plugin

  • Plugin page: exclusive-divi
  • Plugin version: 1.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1
  • WordPress version: 6.3.1
  • First release: Aug 20, 2022
  • Latest release: Dec 15, 2022
  • Number of updates: 8
  • Update frequency: every 14.6 days
  • Top authors: exclusivedivi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /6,511 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼4.18ms] Passed 4 tests

Server-side resources used by Exclusive Divi Modules for Divi Theme, Divi Builder and Extra Theme
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0748.18 ▲8.30
Dashboard /wp-admin3.37 ▲0.0743.86 ▼5.86
Posts /wp-admin/edit.php3.42 ▲0.0746.32 ▼0.00
Add New Post /wp-admin/post-new.php5.95 ▲0.0786.60 ▼17.09
Media Library /wp-admin/upload.php3.30 ▲0.0735.79 ▲6.25

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 90 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
db_upgraded
edm_settings
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Exclusive Divi Modules for Divi Theme, Divi Builder and Extra Theme
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,845 ▲8814.48 ▲0.081.73 ▼0.1942.70 ▲1.08
Dashboard /wp-admin2,251 ▲665.88 ▲0.89106.36 ▲5.9337.67 ▼6.80
Posts /wp-admin/edit.php2,138 ▲462.05 ▲0.0139.40 ▼0.5833.02 ▼0.00
Add New Post /wp-admin/post-new.php1,546 ▲423.55 ▲5.34668.20 ▲35.7556.23 ▲2.96
Media Library /wp-admin/upload.php1,436 ▲514.18 ▼0.1398.63 ▼2.5242.97 ▼1.50

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • edm_settings
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
Please take a closer look at the following
  • 26× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/exclusive-divi/includes/modules/MultiButtonItem/MultiButtonItem.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/exclusive-divi/includes/modules/MouseParallax/MouseParallax.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/exclusive-divi/includes/modules/EDMCore/EDMCore.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/exclusive-divi/public/script-handler.php:58
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/exclusive-divi/includes/modules/TypingText/TypingText.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/exclusive-divi/includes/modules/ScrollingText/ScrollingText.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/exclusive-divi/exclusive-divi.php:35
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/exclusive-divi/public/preloader.php:81
    • > PHP Fatal error
      Uncaught Error: Class 'EDM_Builder_Module' not found in wp-content/plugins/exclusive-divi/includes/modules/BusinessHourChild/BusinessHourChild.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/exclusive-divi/includes/modules/GlitchText/GlitchText.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: divi builder, divi module, divi theme, divi modules, divi

exclusive-divi/exclusive-divi.php 92% from 13 tests

Analyzing the main PHP file in "Exclusive Divi Modules for Divi Theme, Divi Builder and Extra Theme" version 1.3
The following require your attention:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin12,686 lines of code in 79 files:
LanguageFilesBlank linesComment linesLines of code
PHP281,5692679,393
PO File16368841,332
CSS12123171,097
JavaScript17181161663
SVG2100201

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity20.86
▷ Minimum class complexity1.00
▷ Maximum class complexity241.00
Average method complexity3.65
▷ Minimum method complexity1.00
▷ Maximum method complexity39.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes22
▷ Abstract classes00.00%
▷ Concrete classes22100.00%
▷ Final classes00.00%
Methods140
▷ Static methods42.86%
▷ Public methods11280.00%
▷ Protected methods2820.00%
▷ Private methods00.00%
Functions24
▷ Named functions1875.00%
▷ Anonymous functions625.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/icons/default.png1.65KB1.47KB▼ 10.95%
admin/icons/edm_mouse_parallax.png3.56KB1.80KB▼ 49.27%