84% genesis-super-customizer

Code Review | Genesis Super Customizer

WordPress plugin Genesis Super Customizer scored84%from 54 tests.

About plugin

  • Plugin page: genesis-super-cus...
  • Plugin version: 1.2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.0.2
  • WordPress version: 6.3.1
  • First release: Apr 18, 2015
  • Latest release: Jan 7, 2019
  • Number of updates: 40
  • Update frequency: every 34.0 days
  • Top authors: Mario Giancini (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

500+ active /24,717 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
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼2.37ms] Passed 4 tests

Server-side resources used by Genesis Super Customizer
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.69 ▼8.23
Dashboard /wp-admin3.31 ▲0.0049.59 ▼4.77
Posts /wp-admin/edit.php3.36 ▲0.0050.04 ▲1.18
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.35 ▲7.60
Media Library /wp-admin/upload.php3.23 ▲0.0038.79 ▲2.36

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Genesis Super Customizer
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.70 ▲0.301.89 ▼0.0443.51 ▼2.55
Dashboard /wp-admin2,198 ▲215.65 ▲0.0392.40 ▼0.0141.31 ▲1.84
Posts /wp-admin/edit.php2,100 ▼02.00 ▼0.0140.08 ▲1.6135.10 ▼0.10
Add New Post /wp-admin/post-new.php1,546 ▲123.32 ▲0.08654.99 ▼63.3461.80 ▲0.24
Media Library /wp-admin/upload.php1,397 ▼34.22 ▼0.15101.32 ▼0.5644.04 ▲0.17

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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
Please fix the following items
  • 20× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-buttons.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-comments.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-breadcrumbs.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-media-queries.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-footer-credits.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-sidebars.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-content.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-forms.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-nav.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GSC_Base' not found in wp-content/plugins/genesis-super-customizer/public/class-gsc-footer.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

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
5 plugin tags: supercustomizer, design, customizer, genesis, options

genesis-super-customizer/genesis-super-customizer.php 92% from 13 tests

The principal PHP file in "Genesis Super Customizer" v. 1.2.2 is loaded by WordPress automatically on each request
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 293 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin4,067 lines of code in 39 files:
LanguageFilesBlank linesComment linesLines of code
PHP335909483,833
JavaScript42832118
CSS2210116

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity5.81
▷ Minimum class complexity1.00
▷ Maximum class complexity91.00
Average method complexity2.91
▷ Minimum method complexity1.00
▷ Maximum method complexity43.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes27
▷ Abstract classes13.70%
▷ Concrete classes2696.30%
▷ Final classes00.00%
Methods68
▷ Static methods45.88%
▷ Public methods4261.76%
▷ Protected methods2029.41%
▷ Private methods68.82%
Functions21
▷ Named functions21100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin