Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲5.28MB] [CPU: ▲26.79ms] 75% from 4 tests
This is a short check of server-side resources used by Tailor Page Builder
Please fix the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.28MB on /wp-admin/options-general.php?page=tailor_settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.57 ▲5.11 | 69.73 ▲30.10 |
Dashboard /wp-admin | 8.49 ▲5.19 | 77.81 ▲29.03 |
Posts /wp-admin/edit.php | 9.97 ▲6.61 | 98.86 ▲47.27 |
Add New Post /wp-admin/post-new.php | 11.51 ▲5.62 | 123.47 ▲8.90 |
Media Library /wp-admin/upload.php | 8.44 ▲5.21 | 76.89 ▲39.11 |
Tailor /wp-admin/options-general.php?page=tailor_settings | 8.44 | 70.32 |
Server storage [IO: ▲3.82MB] [DB: ▲0.03MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 490 new files
Database: no new tables, 7 new options
New WordPress options |
---|
_tailor_editor_styles |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Tailor Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.34 ▼0.25 | 1.68 ▼0.26 | 37.59 ▼5.91 |
Dashboard /wp-admin | 2,199 ▲22 | 5.59 ▼0.07 | 92.83 ▲3.64 | 40.30 ▲1.70 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.01 | 40.43 ▼0.64 | 35.66 ▼4.52 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 22.69 ▼0.34 | 673.98 ▲52.83 | 50.29 ▼4.00 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.20 ▲0.04 | 100.94 ▼4.28 | 44.23 ▼0.69 |
Tailor /wp-admin/options-general.php?page=tailor_settings | 1,321 | 3.23 | 49.64 | 40.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/tailor/uninstall.php
- 40× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor/includes/shortcodes/shortcode-section.php:91
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor/includes/shortcodes/shortcode-box.php:103
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor/includes/shortcodes/shortcode-gallery.php:134
- > PHP Notice
Trying to get property 'max_num_pages' of non-object in wp-content/plugins/tailor/partials/pagination-links.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor/includes/shortcodes/shortcode-button.php:109
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor/includes/shortcodes/shortcode-user.php:88
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor/includes/shortcodes/shortcode-map.php:104
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor/includes/shortcodes/shortcode-form.php:95
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tailor/includes/admin/class-edit-page.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tailor/includes/helpers/helpers-markup.php:60
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
tailor/tailor.php Passed 13 tests
The main PHP file in "Tailor Page Builder" ver. 1.8.2 adds more information about the plugin and also serves as the entry point for this plugin
75 characters long description:
Build beautiful page layouts quickly and easily using your favourite theme.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected58,071 lines of code in 460 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 170 | 6,345 | 15,289 | 23,366 |
PHP | 185 | 4,982 | 10,810 | 19,742 |
Sass | 86 | 1,528 | 634 | 6,304 |
CSS | 12 | 1,052 | 45 | 6,163 |
PO File | 2 | 919 | 1,172 | 2,171 |
Markdown | 4 | 70 | 0 | 304 |
JSON | 1 | 0 | 0 | 21 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Method cyclomatic complexity should be reduced to less than 100 (currently 130)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 18.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 693.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 130.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 104 | |
▷ Abstract classes | 5 | 4.81% |
▷ Concrete classes | 99 | 95.19% |
▷ Final classes | 0 | 0.00% |
Methods | 768 | |
▷ Static methods | 32 | 4.17% |
▷ Public methods | 377 | 49.09% |
▷ Protected methods | 363 | 47.27% |
▷ Private methods | 28 | 3.65% |
Functions | 142 | |
▷ Named functions | 116 | 81.69% |
▷ Anonymous functions | 26 | 18.31% |
Constants | 61 | |
▷ Global constants | 3 | 4.92% |
▷ Class constants | 58 | 95.08% |
▷ Public constants | 58 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/empty.png | 0.09KB | 0.09KB | 0.00% |