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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 44.19 ▲4.19 |
Dashboard /wp-admin | 3.47 ▲0.12 | 55.95 ▼9.34 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 51.24 ▼2.49 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 98.10 ▼2.77 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 38.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.63 ▼0.71 | 1.79 ▼0.27 | 45.59 ▲5.31 |
Dashboard /wp-admin | 2,218 ▲15 | 5.82 ▼0.21 | 98.22 ▼7.43 | 38.88 ▲0.99 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.05 ▲0.06 | 37.13 ▲2.89 | 32.21 ▼1.36 |
Add New Post /wp-admin/post-new.php | 1,553 ▲4 | 23.48 ▲5.35 | 621.10 ▲7.14 | 49.02 ▼6.39 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.23 ▼0.18 | 102.43 ▼8.22 | 41.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 256 | 492 | 793 |
CSS | 7 | 18 | 1 | 103 |
JavaScript | 1 | 17 | 24 | 54 |
JSON | 1 | 1 | 0 | 3 |
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 code | 0.44 |
Average class complexity | 23.80 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 9 | 15.25% |
▷ Public methods | 42 | 71.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 28.81% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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