90% shape-dividers-plus

Code Review | Shape Dividers Plus for Elementor

WordPress plugin Shape Dividers Plus for Elementor scored90%from 54 tests.

About plugin

  • Plugin page: shape-dividers-plus
  • Plugin version: 1.2.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Apr 9, 2022
  • Latest release: Sep 25, 2023
  • Number of updates: 10
  • Update frequency: every 53.4 days
  • Top authors: mdburnette (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

1,000+ active /7,024 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.00ms] Passed 4 tests

Analyzing server-side resources used by Shape Dividers Plus for Elementor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.85 ▼1.81
Dashboard /wp-admin3.33 ▲0.0345.95 ▼2.95
Posts /wp-admin/edit.php3.38 ▲0.0248.67 ▲0.40
Add New Post /wp-admin/post-new.php5.91 ▲0.0282.95 ▼13.40
Media Library /wp-admin/upload.php3.25 ▲0.0230.81 ▼1.84

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Shape Dividers Plus for Elementor
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.57 ▼0.801.67 ▼0.1337.58 ▼3.33
Dashboard /wp-admin2,203 ▲115.83 ▲0.86101.52 ▼13.2639.02 ▼7.54
Posts /wp-admin/edit.php2,089 ▼32.00 ▼0.0239.60 ▼8.8635.55 ▼3.22
Add New Post /wp-admin/post-new.php1,538 ▲1023.36 ▲4.89648.83 ▲29.5461.28 ▲10.86
Media Library /wp-admin/upload.php1,388 ▲64.29 ▲0.0694.27 ▼5.0244.77 ▲0.69

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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 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
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: design, layout, page builder, elementor

shape-dividers-plus/shape-dividers-plus.php Passed 13 tests

The primary PHP file in "Shape Dividers Plus for Elementor" version 1.2.4 is used by WordPress to initiate all plugin functionality
70 characters long description:
Adds a number of additional custom shape divider options for Elementor

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected46,843 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin