84% fullwidth-templates

Code Review | Fullwidth Templates for Any Theme & Page Builder

WordPress plugin Fullwidth Templates for Any Theme & Page Builder scored84%from 54 tests.

About plugin

  • Plugin page: fullwidth-templates
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-6.3
  • WordPress version: 6.3.1
  • First release: Mar 3, 2017
  • Latest release: Aug 21, 2023
  • Number of updates: 32
  • Update frequency: every 73.8 days
  • Top authors: Nikschavan (59.38%)brainstormworg (40.63%)patilvikasj (6.25%)

Code review

54 tests

User reviews

39 reviews

Install metrics

40,000+ active /336,262 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.16MB] [CPU: ▼3.39ms] Passed 4 tests

A check of server-side resources used by Fullwidth Templates for Any Theme & Page Builder
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1744.19 ▲4.19
Dashboard /wp-admin3.47 ▲0.1255.95 ▼9.34
Posts /wp-admin/edit.php3.58 ▲0.2351.24 ▼2.49
Add New Post /wp-admin/post-new.php6.07 ▲0.1898.10 ▼2.77
Media Library /wp-admin/upload.php3.39 ▲0.1638.08 ▲1.06

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Fullwidth Templates for Any Theme & Page Builder
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5413.63 ▼0.711.79 ▼0.2745.59 ▲5.31
Dashboard /wp-admin2,218 ▲155.82 ▼0.2198.22 ▼7.4338.88 ▲0.99
Posts /wp-admin/edit.php2,150 ▲502.05 ▲0.0637.13 ▲2.8932.21 ▼1.36
Add New Post /wp-admin/post-new.php1,553 ▲423.48 ▲5.35621.10 ▲7.1449.02 ▼6.39
Media Library /wp-admin/upload.php1,394 ▼64.23 ▼0.18102.43 ▼8.2241.20 ▼7.18

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fullwidth-templates/templates/default/template-helpers.php:34
    • > PHP Fatal error
      Uncaught Error: Call to undefined function no_content_get_header() in wp-content/plugins/fullwidth-templates/templates/default/template-page-builder-no-header-footer.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_header() in wp-content/plugins/fullwidth-templates/templates/default/template-page-builder.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_header() in wp-content/plugins/fullwidth-templates/templates/default/template-page-builder-no-sidebar.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: fullwidth, beaver builder, remove sidebar, genesis, template...

fullwidth-templates/fullwidth-page-template.php 92% from 13 tests

This is the main PHP file of "Fullwidth Templates for Any Theme & Page Builder" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("fullwidth-templates.php" instead of "fullwidth-page-template.php")

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
No dangerous file extensions were detected953 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
PHP11256492793
CSS7181103
JavaScript1172454
JSON1103

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity23.80
▷ Minimum class complexity11.00
▷ Maximum class complexity46.00
Average method complexity2.93
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods59
▷ Static methods915.25%
▷ Public methods4271.19%
▷ Protected methods00.00%
▷ Private methods1728.81%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin