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: ▲2.57MB] [CPU: ▲16.80ms] Passed 4 tests
An overview of server-side resources used by Portfolio Awesome - Responsive WordPress Porfolio Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.28 ▲2.82 | 68.87 ▲29.29 |
Dashboard /wp-admin | 6.14 ▲2.84 | 86.80 ▲32.74 |
Posts /wp-admin/edit.php | 6.17 ▲2.81 | 81.25 ▲27.82 |
Add New Post /wp-admin/post-new.php | 7.78 ▲1.90 | 76.69 ▼18.65 |
Media Library /wp-admin/upload.php | 5.99 ▲2.77 | 64.19 ▲28.74 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolio-awesome | 7.78 | 75.34 |
Portfolio Item /wp-admin/edit.php?post_type=portfolio-awesome | 6.10 | 69.91 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolio-awesome | 6.08 | 60.16 |
Showcase /wp-admin/edit.php?post_type=showcase-awesome | 6.10 | 60.40 |
Server storage [IO: ▲12.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 612 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Portfolio Awesome - Responsive WordPress Porfolio Plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,235 ▲474 | 18.92 ▲4.63 | 6.13 ▲4.23 | 35.75 ▼9.46 |
Dashboard /wp-admin | 2,551 ▲348 | 9.32 ▲3.43 | 185.80 ▲77.73 | 40.88 ▼5.34 |
Posts /wp-admin/edit.php | 2,469 ▲369 | 6.32 ▲4.15 | 88.09 ▲49.84 | 34.94 ▲0.32 |
Add New Post /wp-admin/post-new.php | 6,288 ▲4,743 | 23.00 ▼0.16 | 971.30 ▲293.97 | 52.82 ▼3.44 |
Media Library /wp-admin/upload.php | 1,600 ▲209 | 6.77 ▲2.58 | 112.08 ▲2.12 | 43.97 ▼1.71 |
Settings /wp-admin/crb_carbon_fields_container_portfolio_awesome_general_setting.php | 26 | 0.44 | 0.07 | 18.30 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolio-awesome | 1,683 | 18.62 | 1,000.01 | 41.40 |
Portfolio Item /wp-admin/edit.php?post_type=portfolio-awesome | 1,449 | 6.30 | 87.88 | 31.96 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolio-awesome | 1,681 | 6.20 | 76.69 | 30.82 |
Showcase /wp-admin/edit.php?post_type=showcase-awesome | 1,433 | 6.16 | 89.26 | 30.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 0% 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=portfolio-awesome
- > User deprecated in wp-includes/functions.php+5828
Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead.
SRP 0% 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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/portfolio-builder-awesome/public/partials/wrap-start.php
- > /wp-content/plugins/portfolio-builder-awesome/public/partials/wrap-end.php
- > /wp-content/plugins/portfolio-builder-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 149× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/portfolio-builder-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Template_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/portfolio-builder-awesome/vendor/htmlburger/carbon-fields/core/Field/Complex_Field.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/portfolio-builder-awesome/gutenberg-blocks/portfolio-block.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/portfolio-builder-awesome/vendor/htmlburger/carbon-fields/templates/Container/comment_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/portfolio-builder-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Parent_Condition.php:28
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/portfolio-builder-awesome/vendor/htmlburger/carbon-fields/templates/Container/post_meta.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/portfolio-builder-awesome/public/portfolio-styles/masonry-full-image-1.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/portfolio-builder-awesome/vendor/htmlburger/carbon-fields/core/Field/Separator_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/portfolio-builder-awesome/elementor-widgets/portfolios/tpl/portfolio-block.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/portfolio-builder-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Type_Condition.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/crb_carbon_fields_container_portfolio_awesome_general_setting.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_portfolio_awesome_general_setting.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=portfolio-awesome
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
wp.compose.withState is deprecated since version 5.8. Please use wp.element.useState instead.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: showcase, portfolio, gallery, grid, project
portfolio-builder-awesome/portfolio-awesome.php 85% from 13 tests
The main PHP script in "Portfolio Awesome - Responsive WordPress Porfolio Plugin" version 1.1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("portfolio-builder-awesome.php" instead of "portfolio-awesome.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin56,395 lines of code in 504 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 20 | 3,776 | 1,755 | 19,506 |
PHP | 197 | 3,775 | 7,499 | 16,738 |
JavaScript | 195 | 5,523 | 9,114 | 15,493 |
Sass | 51 | 367 | 0 | 1,936 |
PO File | 21 | 614 | 783 | 1,673 |
JSON | 12 | 0 | 0 | 797 |
Markdown | 6 | 52 | 0 | 162 |
SVG | 2 | 0 | 0 | 90 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 8.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 140 | |
▷ Abstract classes | 11 | 7.86% |
▷ Concrete classes | 129 | 92.14% |
▷ Final classes | 1 | 0.78% |
Methods | 982 | |
▷ Static methods | 104 | 10.59% |
▷ Public methods | 800 | 81.47% |
▷ Protected methods | 169 | 17.21% |
▷ Private methods | 13 | 1.32% |
Functions | 231 | |
▷ Named functions | 140 | 60.61% |
▷ Anonymous functions | 91 | 39.39% |
Constants | 39 | |
▷ Global constants | 14 | 35.90% |
▷ Class constants | 25 | 64.10% |
▷ Public constants | 25 | 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
12 PNG files occupy 0.12MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/slide.png | 6.15KB | 2.64KB | ▼ 57.01% |
public/img/vertical-8.png | 0.11KB | 0.11KB | ▼ 0.85% |
assets/carousel.png | 6.71KB | 2.85KB | ▼ 57.54% |
assets/justified.png | 6.92KB | 3.03KB | ▼ 56.15% |
assets/grid.png | 6.45KB | 2.93KB | ▼ 54.61% |