Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.81ms] Passed 4 tests
A check of server-side resources used by Easy Portfolio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.14 ▲1.39 |
Dashboard /wp-admin | 3.39 ▲0.08 | 52.40 ▲3.47 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 50.81 ▼5.79 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 86.30 ▼18.31 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 41.31 ▲4.92 |
Portfolio Category /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 3.31 | 38.71 |
Easy Portfolio /wp-admin/edit.php?post_type=portfolio | 3.36 | 38.50 |
Add Portfolio Item /wp-admin/post-new.php?post_type=portfolio | 3.47 | 54.43 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Portfolio
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲178 | 13.50 ▼1.10 | 11.49 ▲9.75 | 40.25 ▼1.64 |
Dashboard /wp-admin | 2,226 ▲46 | 5.62 ▲0.01 | 83.49 ▼6.03 | 38.99 ▼4.75 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.03 ▲0.00 | 36.64 ▼0.29 | 32.08 ▼4.83 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.33 ▼0.14 | 689.45 ▲20.55 | 52.04 ▲1.25 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.11 ▼0.05 | 112.12 ▲8.90 | 47.33 ▲5.12 |
Portfolio Category /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 1,308 | 2.12 | 31.25 | 31.78 |
Easy Portfolio /wp-admin/edit.php?post_type=portfolio | 1,119 | 1.97 | 31.46 | 38.00 |
Add Portfolio Item /wp-admin/post-new.php?post_type=portfolio | 2,413 | 7.71 | 183.85 | 70.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 6× 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/easy-portfolio/inc/add_custom_field.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-portfolio/inc/add_custom_field.php:53
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-portfolio/easy-portfolio.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/easy-portfolio/themes/default_template.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/easy-portfolio/themes/portfolio_details.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/easy-portfolio/themes/category_template.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (16 tag instead of maximum 10)
- Screenshots: These screenshots do not have images: #1 (Overview List Of Portfolio/Project are shows and also can manage list of Portfolio items.), #2 (Adding New Category.), #3 (Adding New Portfolio/project.), #4 (Show frontend All Portfolio/project (theme twentytwelve).), #5 (Selected Category Portfolio/project (theme twentytwelve) Are Show.), #6 (Latest Portfolio/project is show Column(theme twentytwelve). //Category filter are not available.), #7 (Latest Portfolio/project is show in list orders(theme twentytwelve). //Category filter are not available.), #8 (Portfolio/project Details page are show.)
- Donate link: Please fix this invalid url: "#"
easy-portfolio/easy-portfolio.php 92% from 13 tests
The main PHP file in "Easy Portfolio" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 154 characters long)
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
No dangerous file extensions were detected823 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 4 | 2 | 435 |
PHP | 5 | 8 | 30 | 384 |
JavaScript | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/zoom_icon.png | 1.04KB | 0.95KB | ▼ 8.18% |
images/prettyPhoto/light_square/sprite.png | 3.42KB | 2.13KB | ▼ 37.67% |
images/prettyPhoto/light_square/btnPrevious.png | 1.41KB | 1.19KB | ▼ 15.74% |
images/link_post_icon.png | 0.73KB | 0.65KB | ▼ 11.36% |
images/prettyPhoto/light_square/btnNext.png | 1.38KB | 1.14KB | ▼ 17.29% |