Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.48ms] Passed 4 tests
Analyzing server-side resources used by Portfolio for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 41.31 ▼2.25 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.98 ▼14.94 |
Posts /wp-admin/edit.php | 3.44 ▲0.07 | 54.84 ▲2.93 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 88.38 ▼18.62 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 44.28 ▲1.89 |
Add New /wp-admin/post-new.php?post_type=pfe_portfolio | 6.05 | 86.43 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=pfe_portfolio_category&post_type=pfe_portfolio | 3.30 | 35.39 |
Portfolio /wp-admin/edit.php?post_type=pfe_portfolio | 3.35 | 36.52 |
Server storage [IO: ▲1.59MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Portfolio for Elementor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲104 | 14.25 ▼0.11 | 1.79 ▲0.32 | 42.56 ▲0.42 |
Dashboard /wp-admin | 2,243 ▲69 | 5.62 ▼0.04 | 88.85 ▼6.69 | 40.04 ▼3.35 |
Posts /wp-admin/edit.php | 2,148 ▲45 | 2.09 ▲0.09 | 40.34 ▼0.05 | 36.46 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,570 ▲44 | 23.25 ▲0.02 | 640.91 ▼69.58 | 48.41 ▼1.19 |
Media Library /wp-admin/upload.php | 1,451 ▲51 | 4.19 ▲0.03 | 96.78 ▼4.38 | 43.64 ▼6.80 |
Add New /wp-admin/post-new.php?post_type=pfe_portfolio | 1,549 | 16.91 | 888.14 | 33.37 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=pfe_portfolio_category&post_type=pfe_portfolio | 1,325 | 2.28 | 30.75 | 34.07 |
Portfolio /wp-admin/edit.php?post_type=pfe_portfolio | 1,109 | 1.96 | 30.83 | 31.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/portfolio-for-elementor/classes/portfolio-for-elementor-post-type.php:80
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: There are too many tags (15 tag instead of maximum 10)
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5 in portfolio-for-elementor/assets to your readme.txt
portfolio-for-elementor/portfolio-for-elementor.php Passed 13 tests
This is the main PHP file of "Portfolio for Elementor" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
63 characters long description:
You can make portfolio section use this plugin completely free.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected5,373 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 629 | 39 | 3,817 |
PHP | 4 | 126 | 227 | 759 |
SVG | 1 | 0 | 3 | 687 |
JavaScript | 4 | 20 | 34 | 97 |
HTML | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 19 | 86.36% |
▷ Protected methods | 2 | 9.09% |
▷ Private methods | 1 | 4.55% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected