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.80MB] [CPU: ▼3.20ms] Passed 4 tests
An overview of server-side resources used by WPZOOM Portfolio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.26 ▲0.80 | 43.76 ▲0.39 |
Dashboard /wp-admin | 4.12 ▲0.77 | 55.08 ▼8.93 |
Posts /wp-admin/edit.php | 4.18 ▲0.82 | 58.74 ▲8.66 |
Add New Post /wp-admin/post-new.php | 6.96 ▲1.07 | 91.93 ▼12.15 |
Media Library /wp-admin/upload.php | 4.05 ▲0.81 | 42.60 ▲7.90 |
Portfolio Layouts /wp-admin/edit.php?post_type=portfolio_layout | 4.09 | 41.36 |
Re-order /wp-admin/edit.php?post_type=portfolio_item&page=wpzoom_featured_sorting_menu_portfolio_item | 4.03 | 41.70 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio&post_type=portfolio_item | 4.05 | 43.70 |
Portfolio Items /wp-admin/edit.php?post_type=portfolio_item | 4.09 | 42.58 |
Settings /wp-admin/edit.php?post_type=portfolio_item&page=wpzoom-portfolio-settings | 3.96 | 38.05 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 58 new files
Database: no new tables, 9 new options
New WordPress options |
---|
default_portfolio |
db_upgraded |
widget_recent-posts |
wpzoom_featured_posts_ordered_portfolio_item |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
portfolio_children |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WPZOOM Portfolio
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲176 | 13.43 ▼0.95 | 8.04 ▲6.35 | 39.39 ▼3.23 |
Dashboard /wp-admin | 2,236 ▲62 | 5.52 ▼0.13 | 83.97 ▼15.77 | 41.71 ▼4.92 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 1.96 ▼0.01 | 39.75 ▲3.88 | 35.57 ▼0.53 |
Add New Post /wp-admin/post-new.php | 6,420 ▲4,885 | 28.21 ▲2.85 | 951.15 ▲303.55 | 77.52 ▲18.85 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.14 ▼0.01 | 100.73 ▼3.83 | 40.10 ▼7.63 |
Portfolio Layouts /wp-admin/edit.php?post_type=portfolio_layout | 1,113 | 1.90 | 30.21 | 30.88 |
Re-order /wp-admin/edit.php?post_type=portfolio_item&page=wpzoom_featured_sorting_menu_portfolio_item | 927 | 2.71 | 43.93 | 25.04 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio&post_type=portfolio_item | 1,419 | 2.13 | 28.62 | 33.54 |
Portfolio Items /wp-admin/edit.php?post_type=portfolio_item | 1,159 | 1.90 | 29.95 | 30.94 |
Settings /wp-admin/edit.php?post_type=portfolio_item&page=wpzoom-portfolio-settings | 1,590 | 2.64 | 57.74 | 29.66 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- portfolio_children
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- default_portfolio
- can_compress_scripts
- wpzoom_featured_posts_ordered_portfolio_item
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wpzoom-portfolio/templates/taxonomy-portfolio.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: gutenberg, portfolio, grid, wpzoom, inspiro...
wpzoom-portfolio/wpzoom-portfolio.php 92% from 13 tests
The main PHP file in "WPZOOM Portfolio" ver. 1.4.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 165 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
No dangerous file extensions were detected15,300 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 19 | 1,224 | 1,376 | 9,815 |
PHP | 21 | 828 | 1,329 | 3,514 |
Sass | 3 | 156 | 16 | 1,106 |
CSS | 10 | 93 | 17 | 865 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 39.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 217.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 141 | |
▷ Static methods | 21 | 14.89% |
▷ Public methods | 138 | 97.87% |
▷ Protected methods | 3 | 2.13% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 5 | 41.67% |
▷ Anonymous functions | 7 | 58.33% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 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
PNG images were not found in this plugin