Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/multiple-portfolios/includes/class-multiple-portfolios-post-type.php+40
Illegal string offset 'name'
Server metrics [RAM: ▲0.26MB] [CPU: ▲0.07ms] Passed 4 tests
An overview of server-side resources used by Multiple Portfolios
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 45.01 ▲0.06 |
Dashboard /wp-admin | 3.55 ▲0.25 | 54.38 ▼3.75 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 55.40 ▲0.97 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 94.46 ▲2.99 |
Media Library /wp-admin/upload.php | 3.48 ▲0.26 | 44.50 ▲9.06 |
Create new Parent Portfolio /wp-admin/post-new.php?post_type=parent-portfolio | 3.53 | 46.55 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 3.48 | 42.38 |
Add New Item /wp-admin/post-new.php?post_type=portfolio | 6.29 | 87.65 |
All Portfolio Items /wp-admin/edit.php?post_type=portfolio | 3.53 | 45.47 |
All Parent Portfolios /wp-admin/edit.php?post_type=parent-portfolio | 3.63 | 46.15 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 3.48 | 38.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Multiple Portfolios: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲93 | 14.28 ▲0.06 | 1.63 ▼0.20 | 44.99 ▼1.40 |
Dashboard /wp-admin | 2,251 ▲76 | 5.50 ▼0.10 | 84.75 ▼14.25 | 39.17 ▼3.00 |
Posts /wp-admin/edit.php | 2,159 ▲62 | 2.00 ▲0.04 | 35.51 ▼2.01 | 36.94 ▲3.57 |
Add New Post /wp-admin/post-new.php | 1,575 ▲47 | 22.97 ▼0.04 | 668.39 ▲9.11 | 77.43 ▲29.37 |
Media Library /wp-admin/upload.php | 1,462 ▲65 | 4.22 ▲0.03 | 99.34 ▼4.51 | 46.26 ▲0.05 |
Create new Parent Portfolio /wp-admin/post-new.php?post_type=parent-portfolio | 1,467 | 2.45 | 48.31 | 50.23 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 1,302 | 2.12 | 27.73 | 31.23 |
Add New Item /wp-admin/post-new.php?post_type=portfolio | 1,604 | 17.05 | 858.47 | 31.23 |
All Portfolio Items /wp-admin/edit.php?post_type=portfolio | 1,189 | 1.91 | 33.09 | 30.94 |
All Parent Portfolios /wp-admin/edit.php?post_type=parent-portfolio | 1,668 | 1.98 | 37.13 | 32.95 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 1,330 | 2.12 | 26.83 | 33.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after 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 | 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Multiple_Portfolios_Gamajo_Taxonomy' not found in wp-content/plugins/multiple-portfolios/includes/class-multiple-portfolios-taxonomy-category.php:19
- > PHP Fatal error
Uncaught Error: Class 'Multiple_Portfolios_Gamajo_Taxonomy' not found in wp-content/plugins/multiple-portfolios/includes/class-multiple-portfolios-taxonomy-tag.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Multiple_Portfolios_Gamajo_Registerable' not found in wp-content/plugins/multiple-portfolios/includes/class-gamajo-post-type.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Multiple_Portfolios_Gamajo_Registerable' not found in wp-content/plugins/multiple-portfolios/includes/class-gamajo-taxonomy.php:19
- > PHP Fatal error
Uncaught Error: Class 'Multiple_Portfolios_Gamajo_Post_Type' not found in wp-content/plugins/multiple-portfolios/includes/class-multiple-portfolios-post-type.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2 in multiple-portfolios/assets to your readme.txt
multiple-portfolios/multiple-portfolios.php Passed 13 tests
The primary PHP file in "Multiple Portfolios" version 1.0.4 is used by WordPress to initiate all plugin functionality
50 characters long description:
Create multiple portfolios on your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin687 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 167 | 709 | 687 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 2 | 20.00% |
▷ Concrete classes | 8 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 1 | 1.69% |
▷ Public methods | 40 | 67.80% |
▷ Protected methods | 16 | 27.12% |
▷ Private methods | 3 | 5.08% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin