Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼20.96ms] Passed 4 tests
A check of server-side resources used by f(x) Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.16 ▼8.73 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.03 ▼16.18 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.25 ▼13.37 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 92.63 ▼45.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 43.57 ▲3.69 |
Page Builder /wp-admin/options-general.php?page=fx-builder | 3.24 | 36.18 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
fx-builder_welcome |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for f(x) Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲24 | 14.24 ▼0.24 | 2.06 ▼0.36 | 43.87 ▼11.67 |
Dashboard /wp-admin | 2,217 ▲40 | 5.63 ▼0.01 | 89.41 ▼14.73 | 51.70 ▲6.30 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 2.03 ▲0.05 | 38.60 ▼7.76 | 33.04 ▼7.69 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 23.68 ▲2.73 | 709.84 ▼37.19 | 63.42 ▲8.64 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.18 ▼0.03 | 111.79 ▼4.86 | 47.41 ▲0.13 |
Page Builder /wp-admin/options-general.php?page=fx-builder | 847 | 2.03 | 28.17 | 32.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function fx_builder\\builder\\esc_attr() in wp-content/plugins/fx-builder/includes/builder/templates/tmpl-row.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function fx_builder\\builder\\_e() in wp-content/plugins/fx-builder/includes/builder/templates/tmpl-item.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: drag and drop, page builder, beta
fx-builder/fx-builder.php Passed 13 tests
The main file in "f(x) Builder" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
75 characters long description:
A simple page builder plugin. The one you can actually use. (Alpha Version)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected2,729 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 373 | 489 | 1,352 |
CSS | 6 | 35 | 74 | 781 |
JavaScript | 7 | 199 | 320 | 583 |
Markdown | 1 | 4 | 0 | 13 |
PHP code Passed 2 tests
An overview 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.33 |
Average class complexity | 14.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 25 | 37.31% |
▷ Public methods | 67 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/builder/assets/layout-images/layout-14_14_14_14.png | 1.21KB | 0.13KB | ▼ 89.47% |
includes/builder/assets/layout-images/layout-13_23.png | 1.21KB | 0.12KB | ▼ 89.87% |
includes/builder/assets/layout-images/layout-23_13.png | 1.21KB | 0.12KB | ▼ 90.00% |
includes/builder/assets/layout-images/layout-12_12.png | 1.21KB | 0.12KB | ▼ 89.93% |
includes/builder/assets/layout-images/layout-13_13_13.png | 1.21KB | 0.13KB | ▼ 89.68% |