78% genesis-footer-builder

Code Review | Genesis Footer Builder

WordPress plugin Genesis Footer Builder scored 78% from 54 tests.

About plugin

  • Plugin page: genesis-footer-bu...
  • Plugin version: 1.3.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.2
  • WordPress version: 6.3.1
  • First release: Feb 16, 2015
  • Latest release: Jun 20, 2019
  • Number of updates: 45
  • Update frequency: every 35.3 days
  • Top authors: varun21 (77.78%)aniash_29 (24.44%)

Code review

54 tests

User reviews

5 reviews

Install metrics

2,000+ active / 102,654 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

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

Analyzing server-side resources used by Genesis Footer Builder
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.95 ▲0.95
Dashboard /wp-admin3.31 ▲0.0044.00 ▼2.82
Posts /wp-admin/edit.php3.36 ▲0.0040.95 ▼6.40
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.24 ▼15.90
Media Library /wp-admin/upload.php3.23 ▲0.0033.67 ▼0.23

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Genesis Footer Builder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4314.48 ▼0.201.80 ▼0.3945.15 ▼1.72
Dashboard /wp-admin2,206 ▲204.85 ▼0.10108.21 ▼0.7538.76 ▼4.60
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0140.31 ▼0.8435.74 ▼0.04
Add New Post /wp-admin/post-new.php1,538 ▼423.24 ▲5.09678.10 ▲74.4356.36 ▲0.86
Media Library /wp-admin/upload.php1,388 ▼04.17 ▼0.0397.31 ▼0.5741.49 ▼3.34

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
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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
Almost there! Just fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/genesis-footer-builder/admin/gfb-functions.php
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'Genesis_Admin_Boxes' not found in wp-content/plugins/genesis-footer-builder/admin/gfb-admin.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-footer-builder/admin/gfb-update.php:44
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/genesis-footer-builder/genesis-footer-builder.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes: Please take inspiration from this readme.txt

genesis-footer-builder/genesis-footer-builder.php Passed 13 tests

The main PHP file in "Genesis Footer Builder" ver. 1.3.5 adds more information about the plugin and also serves as the entry point for this plugin
64 characters long description:
Helps build a custom footer for Genesis or Genesis child-themes.

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
There were no executable files found in this plugin806 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP5296152621
CSS14010185

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods14
▷ Static methods00.00%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions25
▷ Named functions25100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.49MB with 0.30MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/assets/femme-flora-showcase.png256.99KB82.27KB▼ 67.99%
admin/assets/lander-theme-banner.png10.25KB4.75KB▼ 53.67%
admin/assets/lander-banner.png33.58KB14.26KB▼ 57.53%
admin/assets/captivate-showcase.png200.79KB63.31KB▼ 68.47%