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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.17ms] Passed 4 tests
An overview of server-side resources used by Tailor Page Builder: Portfolio Extension
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.25 ▲1.41 |
Dashboard /wp-admin | 3.34 ▲0.03 | 44.62 ▼2.02 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 42.03 ▼6.11 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.34 ▼17.95 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.62 ▲2.29 |
Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Tailor Page Builder: Portfolio Extension
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.77 ▲0.40 | 1.73 ▲0.08 | 41.15 ▼3.70 |
Dashboard /wp-admin | 2,200 ▲19 | 5.56 ▼0.16 | 82.93 ▼16.33 | 37.16 ▼5.40 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.04 ▲0.03 | 37.67 ▲0.57 | 30.79 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.31 ▲0.19 | 658.71 ▲45.96 | 61.11 ▲3.59 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.21 ▲0.02 | 112.50 ▲7.82 | 45.95 ▲0.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor-portfolio/includes/shortcodes/shortcode-projects.php:150
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
tailor-portfolio/tailor-portfolio.php Passed 13 tests
The entry point to "Tailor Page Builder: Portfolio Extension" version 1.2.2 is a PHP file that has certain tags in its header comment area
50 characters long description:
Adds portfolio functionality to the Tailor plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,311 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 160 | 438 | 835 |
Sass | 13 | 66 | 35 | 277 |
JavaScript | 6 | 26 | 0 | 102 |
CSS | 4 | 20 | 4 | 68 |
JSON | 1 | 0 | 0 | 21 |
Markdown | 1 | 5 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 14 | 42.42% |
▷ Public methods | 31 | 93.94% |
▷ Protected methods | 2 | 6.06% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin