Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▲61.23ms] Passed 4 tests
Server-side resources used by Saoshyant Page Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.21 ▼6.17 |
Dashboard /wp-admin | 3.59 ▲0.29 | 127.15 ▲78.58 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 140.94 ▲91.57 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 2,177.43 ▲2,086.43 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 114.42 ▲80.94 |
Server storage [IO: ▲4.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 262 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Saoshyant Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲192 | 15.49 ▲1.11 | 7.57 ▲5.56 | 37.39 ▼5.25 |
Dashboard /wp-admin | 2,220 ▲35 | 6.54 ▲1.63 | 122.86 ▲21.01 | 41.88 ▼3.45 |
Posts /wp-admin/edit.php | 2,233 ▲144 | 3.33 ▲1.30 | 51.93 ▲16.90 | 35.82 ▲1.17 |
Add New Post /wp-admin/post-new.php | 6,806 ▲5,287 | 20.61 ▼2.65 | 851.13 ▲161.91 | 39.74 ▼26.64 |
Media Library /wp-admin/upload.php | 1,553 ▲162 | 4.94 ▲0.73 | 110.50 ▲8.38 | 41.78 ▼4.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/saoshyant-page-builder/inc/minify.php
- 87× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant SAOPAGE_FILE - assumed 'SAOPAGE_FILE' (this will throw an Error in a future version of PHP) in wp-content/plugins/saoshyant-page-builder/inc/minify.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/saoshyant-page-builder/element/multi_icon_text.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/saoshyant-page-builder/framework/builder-section.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/saoshyant-page-builder/framework/builder-template.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/saoshyant-page-builder/element/progress_bar.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/saoshyant-page-builder/element/button.php:2
- > PHP Warning
include(SAOPAGE_PATHelement/mini/button_typography.php): failed to open stream: No such file or directory in wp-content/plugins/saoshyant-page-builder/element/mini/details_type.php on line 7
- > PHP Warning
include(): Failed opening 'SAOPAGE_PATHelement/mini/details_typography.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/saoshyant-page-builder/element/mini/details_type.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/saoshyant-page-builder/element/divider_vertical.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/saoshyant-page-builder/inc/post-functions.php:778
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: page builder, creator page
saoshyant-page-builder/saoshyant-page-builder.php Passed 13 tests
The entry point to "Saoshyant Page Builder" version 3.8 is a PHP file that has certain tags in its header comment area
40 characters long description:
Drag and drop page builder for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin37,594 lines of code in 162 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 75 | 5,781 | 1,273 | 21,566 |
CSS | 56 | 1,066 | 157 | 8,297 |
JavaScript | 29 | 1,489 | 700 | 6,259 |
PO File | 1 | 705 | 1,776 | 1,460 |
SVG | 1 | 0 | 1 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 319 | |
▷ Named functions | 319 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/controls.png | 2.19KB | 0.95KB | ▼ 56.49% |