Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼4.49ms] Passed 4 tests
An overview of server-side resources used by Elementor Portfolio Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 35.92 ▼7.50 |
Dashboard /wp-admin | 3.49 ▲0.18 | 51.42 ▼0.84 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 65.88 ▲18.05 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 87.63 ▼11.00 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 35.38 ▲1.38 |
Category /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolio | 3.41 | 37.87 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolio | 3.51 | 53.12 |
All Portfolios /wp-admin/edit.php?post_type=portfolio | 3.46 | 41.12 |
Server storage [IO: ▲4.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 157 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Elementor Portfolio Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,193 ▲432 | 15.94 ▲1.64 | 10.52 ▲8.70 | 53.76 ▲8.10 |
Dashboard /wp-admin | 2,459 ▲282 | 6.71 ▲1.04 | 124.16 ▲30.97 | 49.66 ▲8.39 |
Posts /wp-admin/edit.php | 2,390 ▲293 | 3.92 ▲1.95 | 58.74 ▲24.24 | 34.23 ▼4.02 |
Add New Post /wp-admin/post-new.php | 1,635 ▲109 | 23.00 ▼0.23 | 652.81 ▼7.74 | 37.40 ▼17.38 |
Media Library /wp-admin/upload.php | 1,526 ▲126 | 4.72 ▲0.47 | 92.35 ▼14.77 | 47.49 ▼3.18 |
Category /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolio | 1,560 | 3.59 | 45.85 | 33.93 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolio | 2,665 | 8.11 | 180.40 | 74.31 |
All Portfolios /wp-admin/edit.php?post_type=portfolio | 1,378 | 3.80 | 52.16 | 31.50 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Please take a closer look at the following
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/portfolio-builder-elementor/admin/class-custom-taxonomy.php:13
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/portfolio-builder-elementor/elementor/templates/general-style-one.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/portfolio-builder-elementor/inc/class-portfolio-builder-elementor-init.php:16
- > PHP Notice
Undefined variable: posts_query in wp-content/plugins/portfolio-builder-elementor/elementor/templates/grid-style-one.php on line 9
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/portfolio-builder-elementor/elementor/templates/general-style-two.php:8
- > PHP Notice
Undefined variable: posts_query in wp-content/plugins/portfolio-builder-elementor/elementor/templates/general-style-two.php on line 8
- > PHP Notice
Undefined variable: posts_query in wp-content/plugins/portfolio-builder-elementor/elementor/templates/general-style-one.php on line 9
- > PHP Notice
Undefined variable: posts_query in wp-content/plugins/portfolio-builder-elementor/elementor/templates/grid-style-two.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/portfolio-builder-elementor/single/single-portfolio.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/portfolio-builder-elementor/elementor/templates/grid-style-one.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #5 (/assets/screenshot-5.png), #6 (/assets/screenshot-6.png)
portfolio-builder-elementor/portfolio-builder-elementor.php 85% from 13 tests
The main file in "Elementor Portfolio Builder" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 421 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin37,576 lines of code in 137 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 3,292 | 1,516 | 13,222 |
SVG | 5 | 0 | 12 | 9,028 |
CSS | 11 | 338 | 512 | 6,846 |
Sass | 15 | 851 | 3 | 4,325 |
JavaScript | 11 | 1,233 | 395 | 4,012 |
PO File | 1 | 63 | 71 | 143 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 20.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 5.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 2 | 3.17% |
▷ Concrete classes | 61 | 96.83% |
▷ Final classes | 1 | 1.64% |
Methods | 267 | |
▷ Static methods | 39 | 14.61% |
▷ Public methods | 254 | 95.13% |
▷ Protected methods | 13 | 4.87% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 8 | 72.73% |
▷ Class constants | 3 | 27.27% |
▷ Public constants | 3 | 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 |
lib/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |