Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼6.08ms] Passed 4 tests
This is a short check of server-side resources used by Perfecto Portfolio
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 41.07 ▲2.98 |
Dashboard /wp-admin | 3.49 ▲0.14 | 52.12 ▼5.33 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 45.12 ▼2.47 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 85.29 ▼19.48 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 39.23 ▲5.23 |
Perfecto Portfolio /wp-admin/options-general.php?page=perfecto_portfolio_options | 3.38 | 42.18 |
Add new /wp-admin/post-new.php?post_type=prfct_portfolio | 6.17 | 86.93 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=prfct_tx_portfolio_tag&post_type=prfct_portfolio | 3.40 | 34.77 |
All Perfecto Portfolio /wp-admin/edit.php?post_type=prfct_portfolio | 3.45 | 37.02 |
Server storage [IO: ▲1.89MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
perfecto_portfolio_advanced_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Perfecto Portfolio
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,227 ▲466 | 14.08 ▼0.33 | 21.10 ▲19.26 | 41.19 ▲2.47 |
Dashboard /wp-admin | 2,234 ▲60 | 5.51 ▼0.08 | 82.31 ▼4.45 | 39.49 ▼3.37 |
Posts /wp-admin/edit.php | 2,139 ▲42 | 2.03 ▲0.04 | 34.71 ▼1.04 | 33.07 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,575 ▲49 | 18.34 ▼4.72 | 603.27 ▼1.78 | 64.87 ▲10.71 |
Media Library /wp-admin/upload.php | 1,439 ▲36 | 4.24 ▲0.11 | 93.30 ▼9.78 | 41.76 ▼0.37 |
Perfecto Portfolio /wp-admin/options-general.php?page=perfecto_portfolio_options | 1,009 | 2.00 | 21.55 | 40.20 |
Add new /wp-admin/post-new.php?post_type=prfct_portfolio | 6,211 | 22.57 | 900.23 | 29.51 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=prfct_tx_portfolio_tag&post_type=prfct_portfolio | 1,282 | 2.24 | 27.25 | 29.44 |
All Perfecto Portfolio /wp-admin/edit.php?post_type=prfct_portfolio | 1,109 | 1.97 | 28.42 | 32.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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 fix the following items
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/perfecto-portfolio/admin/partials/perfecto-shortcode-options-table-pro.php
- > /wp-content/plugins/perfecto-portfolio/admin/partials/perfecto-shortcode-options-table.php
- > /wp-content/plugins/perfecto-portfolio/public/partials/perfecto-portfolio-public-display.php
- > /wp-content/plugins/perfecto-portfolio/admin/partials/perfecto-portfolio-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
perfecto-portfolio/perfecto-portfolio.php 92% from 13 tests
The primary PHP file in "Perfecto Portfolio" version 1.0.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 279 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin28,455 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 0 | 6,082 | 18,730 |
JavaScript | 6 | 3,512 | 112 | 8,806 |
PHP | 18 | 353 | 914 | 919 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 12 | 21.82% |
▷ Public methods | 38 | 69.09% |
▷ Protected methods | 8 | 14.55% |
▷ Private methods | 9 | 16.36% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin