Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼35.73ms] Passed 4 tests
Server-side resources used by WP XPRS - Page Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.05 ▼11.50 |
Dashboard /wp-admin | 3.00 ▼0.30 | 22.76 ▼31.34 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 24.77 ▼25.55 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 26.17 ▼74.51 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 25.14 ▼10.75 |
Edit /wp-admin/admin.php?page=xprs-edit | 3.01 | 23.88 |
XPRS editor - homepage /wp-admin/options-general.php?page=xprs-homepage | 3.01 | 23.29 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP XPRS - Page Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.30 ▲0.11 | 1.78 ▼0.07 | 42.02 ▼1.86 |
Dashboard /wp-admin | 2,205 ▲28 | 5.59 ▼0.01 | 90.58 ▼3.54 | 39.91 ▼1.98 |
Posts /wp-admin/edit.php | 2,113 ▲16 | 2.01 ▲0.02 | 40.64 ▲2.70 | 38.66 ▲1.74 |
Add New Post /wp-admin/post-new.php | 6,396 ▲4,868 | 27.06 ▲4.00 | 894.45 ▲209.05 | 41.44 ▼10.47 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.23 ▲0.04 | 95.68 ▼6.37 | 42.01 ▼3.34 |
Edit /wp-admin/admin.php?page=xprs-edit | 802 | 1.92 | 25.74 | 25.20 |
XPRS editor - homepage /wp-admin/options-general.php?page=xprs-homepage | 824 | 1.67 | 24.29 | 24.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=xprs-homepage
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 0% 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 items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-xprs-page-builder/views/page_header_mode.php
- > /wp-content/plugins/wp-xprs-page-builder/views/edit-page.php
- > /wp-content/plugins/wp-xprs-page-builder/views/page.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-xprs-page-builder/views/edit-homepage.php:5
- > PHP Notice
Undefined variable: iframe_url in wp-content/plugins/wp-xprs-page-builder/views/edit-page.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-xprs-page-builder/wp-xprs.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
- Tags: There are too many tags (26 tag instead of maximum 10)
wp-xprs-page-builder/wp-xprs.php 92% from 13 tests
The main PHP script in "WP XPRS - Page Builder" version 1.1.1 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-xprs-page-builder.php" instead of "wp-xprs.php")
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
Good job! No executable or dangerous file extensions detected770 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 136 | 71 | 770 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 74.00 |
▷ Minimum class complexity | 74.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 51 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin