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.01MB] [CPU: ▼8.50ms] Passed 4 tests
An overview of server-side resources used by Elemental Theme Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.62 ▼1.78 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.05 ▼10.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.83 ▼7.70 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.77 ▼13.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.87 ▲3.42 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Elemental Theme Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.54 ▼0.81 | 1.57 ▼0.05 | 40.60 ▼0.66 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼1.01 | 96.88 ▼18.80 | 38.41 ▼8.33 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.02 | 36.45 ▼3.88 | 34.65 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.13 ▲5.66 | 660.00 ▼5.58 | 53.74 ▼2.58 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.18 ▼0.05 | 98.77 ▼0.56 | 42.19 ▲0.17 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Modules\\Library\\Documents\\Library_Document' not found in wp-content/plugins/elemental-theme-builder/src/Documents/SiteFooter.php:10
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Modules\\Library\\Documents\\Library_Document' not found in wp-content/plugins/elemental-theme-builder/src/Documents/SiteHeader.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/elemental-theme-builder/src/Templates/SiteHeader.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/elemental-theme-builder/elemental-theme-builder.php:17
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Plugin' not found in wp-content/plugins/elemental-theme-builder/src/Templates/BlankPage.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/elemental-theme-builder/src/Templates/SiteFooter.php:7
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in elemental-theme-builder/assets to your readme.txt
elemental-theme-builder/elemental-theme-builder.php 92% from 13 tests
"Elemental Theme Builder" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("5.2" instead of "5.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin727 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 115 | 188 | 726 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 24.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 4 | 100.00% |
Methods | 31 | |
▷ Static methods | 4 | 12.90% |
▷ Public methods | 21 | 67.74% |
▷ Protected methods | 2 | 6.45% |
▷ Private methods | 8 | 25.81% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.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
There are no PNG files in this plugin