Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.37MB] [CPU: ▲3.65ms] 75% from 4 tests
This is a short check of server-side resources used by Forge - Front-End Page Builder
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 5,037.11ms on /wp-admin/admin.php?page=forge_extensions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.84 ▲1.38 | 42.95 ▲6.28 |
Dashboard /wp-admin | 4.67 ▲1.36 | 51.79 ▲4.16 |
Posts /wp-admin/edit.php | 4.78 ▲1.42 | 53.97 ▲6.58 |
Add New Post /wp-admin/post-new.php | 7.28 ▲1.39 | 89.57 ▼2.44 |
Media Library /wp-admin/upload.php | 4.59 ▲1.36 | 44.16 ▲12.30 |
Templates /wp-admin/admin.php?page=forge_templates | 4.57 | 40.79 |
Settings /wp-admin/admin.php?page=forge_settings | 4.56 | 36.58 |
Extensions /wp-admin/admin.php?page=forge_extensions | 4.58 | 5,037.11 |
Forge /wp-admin/admin.php?page=forge_dashboard | 4.57 | 37.72 |
Connections /wp-admin/admin.php?page=forge_connections | 4.64 | 38.51 |
Server storage [IO: ▲2.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 128 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_forge-template |
forge_install |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
forge_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Forge - Front-End Page Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲75 | 14.38 ▲0.03 | 1.55 ▼0.17 | 40.36 ▲0.88 |
Dashboard /wp-admin | 2,267 ▲99 | 5.63 ▲0.05 | 88.46 ▲3.97 | 40.65 ▼7.49 |
Posts /wp-admin/edit.php | 2,177 ▲80 | 2.03 ▲0.04 | 39.20 ▲2.86 | 32.22 ▼0.45 |
Add New Post /wp-admin/post-new.php | 1,587 ▲59 | 23.01 ▼0.03 | 683.48 ▲2.86 | 62.80 ▲2.94 |
Media Library /wp-admin/upload.php | 1,472 ▲69 | 4.22 ▲0.03 | 95.69 ▼2.65 | 46.47 ▲4.50 |
Templates /wp-admin/admin.php?page=forge_templates | 874 | 2.02 | 29.05 | 26.62 |
Settings /wp-admin/admin.php?page=forge_settings | 868 | 1.69 | 26.33 | 27.35 |
Extensions /wp-admin/admin.php?page=forge_extensions | 836 | 2.03 | 25.73 | 26.50 |
Forge /wp-admin/admin.php?page=forge_dashboard | 981 | 2.05 | 24.53 | 44.32 |
Connections /wp-admin/admin.php?page=forge_connections | 937 | 1.69 | 26.07 | 24.71 |
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
- Zombie WordPress options detected upon uninstall: 9 options
- widget_forge-template
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- forge_install
- widget_recent-comments
- can_compress_scripts
- forge_settings
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 44× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/forge/includes/class-forge-menu.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forge/includes/admin-settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/forge/elements/element-widget-comments.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/forge/elements/element-spacer.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forge/includes/metaboxes.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/forge/elements/element-woocommerce.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/forge/elements/element-text.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/forge/templates/template-builder.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forge/includes/class-forge-presets.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forge/includes/update.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (34 tag instead of maximum 10)
forge/forge.php Passed 13 tests
The main PHP script in "Forge - Front-End Page Builder" version 1.4.6 is automatically included on every request by WordPress
48 characters long description:
A versatile, easy to use front end page builder.
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
There were no executable files found in this plugin16,433 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 59 | 1,890 | 1,118 | 8,308 |
JavaScript | 10 | 983 | 679 | 3,930 |
SVG | 3 | 0 | 0 | 1,944 |
PO File | 2 | 1,743 | 3,573 | 1,439 |
CSS | 7 | 158 | 168 | 812 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 48.62 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 343.00 |
Average method complexity | 5.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 190 | |
▷ Static methods | 4 | 2.11% |
▷ Public methods | 178 | 93.68% |
▷ Protected methods | 1 | 0.53% |
▷ Private methods | 11 | 5.79% |
Functions | 171 | |
▷ Named functions | 168 | 98.25% |
▷ Anonymous functions | 3 | 1.75% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
25 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/columns-wide.png | 0.26KB | 0.23KB | ▼ 9.92% |
images/logo-medium.png | 1.97KB | 1.92KB | ▼ 2.53% |
images/hooks/woocommerce.png | 0.89KB | 0.85KB | ▼ 4.41% |
images/hooks/furnace.png | 3.34KB | 0.64KB | ▼ 80.84% |
images/columns-narrow.png | 0.27KB | 0.23KB | ▼ 14.64% |