Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.31MB] [CPU: ▲0.92ms] Passed 4 tests
This is a short check of server-side resources used by Violet Custom Post Meta
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 44.98 ▲2.87 |
Dashboard /wp-admin | 3.66 ▲0.35 | 56.32 ▲6.50 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 56.75 ▲4.42 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 92.25 ▼8.98 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 38.44 ▲5.36 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolio | 3.61 | 55.72 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 3.52 | 43.34 |
Services /wp-admin/edit.php?post_type=services | 3.59 | 44.35 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 3.59 | 44.66 |
Add New Skill /wp-admin/post-new.php?post_type=skill | 3.64 | 50.29 |
Members /wp-admin/edit.php?post_type=team | 3.59 | 54.45 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 3.59 | 44.66 |
My skills /wp-admin/edit.php?post_type=skill | 3.59 | 43.26 |
Add New Member /wp-admin/post-new.php?post_type=team | 3.61 | 50.06 |
Partners /wp-admin/edit.php?post_type=partner | 3.59 | 43.35 |
Server storage [IO: ▲0.07MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Violet Custom Post Meta
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,133 ▲372 | 14.80 ▲0.21 | 2.02 ▼0.22 | 42.50 ▼3.57 |
Dashboard /wp-admin | 2,524 ▲344 | 6.57 ▲0.89 | 124.51 ▲35.83 | 40.08 ▼4.67 |
Posts /wp-admin/edit.php | 2,449 ▲349 | 3.70 ▲1.67 | 51.07 ▲15.62 | 33.75 ▼3.74 |
Add New Post /wp-admin/post-new.php | 1,685 ▲159 | 23.42 ▼0.17 | 670.84 ▲6.51 | 38.53 ▼16.43 |
Media Library /wp-admin/upload.php | 1,589 ▲192 | 4.53 ▲0.36 | 105.87 ▼1.83 | 47.14 ▲0.08 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolio | 1,986 | 3.95 | 69.99 | 38.18 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 1,629 | 3.44 | 43.39 | 31.70 |
Services /wp-admin/edit.php?post_type=services | 1,428 | 3.74 | 45.30 | 27.66 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 1,423 | 3.60 | 45.59 | 27.23 |
Add New Skill /wp-admin/post-new.php?post_type=skill | 2,467 | 7.99 | 174.49 | 59.68 |
Members /wp-admin/edit.php?post_type=team | 1,422 | 3.60 | 44.17 | 27.55 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,417 | 3.58 | 49.93 | 27.72 |
My skills /wp-admin/edit.php?post_type=skill | 1,423 | 3.59 | 46.87 | 27.11 |
Add New Member /wp-admin/post-new.php?post_type=team | 2,089 | 4.05 | 70.46 | 34.41 |
Partners /wp-admin/edit.php?post_type=partner | 1,430 | 3.61 | 46.06 | 31.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 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 were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=partner
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-tooltip&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wp-violet/admin/js/vcpm-admin.js?ver=1.0.0:16:32)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-tooltip&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-tooltip&ver=6.3.1:2:27292)" undefined
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=partner
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-tooltip&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
- > GET request to /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-tooltip&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wp-violet/admin/js/vcpm-admin.js?ver=1.0.0:16:32)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-tooltip&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-tooltip&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-tooltip&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 93% 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 to be fixed:
- Donate link: Invalid URI found ("www.rakibhossain.cf")
wp-violet/wp-violet.php 92% from 13 tests
Analyzing the main PHP file in "Violet Custom Post Meta" version 1.0.0
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,036 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 153 | 446 | 795 |
CSS | 2 | 11 | 1 | 167 |
JavaScript | 2 | 22 | 15 | 74 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 5.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 3 | 9.68% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 1 | 3.23% |
▷ Private methods | 4 | 12.90% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin