Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.04MB] [CPU: ▲2.17ms] Passed 4 tests
Server-side resources used by Virtue/Ascend/Pinnacle Toolkit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.51 ▲1.05 | 47.44 ▲3.15 |
Dashboard /wp-admin | 4.33 ▲1.02 | 48.56 ▲0.30 |
Posts /wp-admin/edit.php | 4.41 ▲1.05 | 56.93 ▲9.95 |
Add New Post /wp-admin/post-new.php | 7.05 ▲1.16 | 88.35 ▼1.09 |
Media Library /wp-admin/upload.php | 4.25 ▲1.02 | 45.07 ▲6.31 |
Add New /wp-admin/post-new.php?post_type=portfolio | 7.04 | 87.63 |
Portfolio Type /wp-admin/edit-tags.php?taxonomy=portfolio-type&post_type=portfolio | 4.24 | 42.92 |
All Portfolio /wp-admin/edit.php?post_type=portfolio | 4.32 | 44.09 |
Server storage [IO: ▲4.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 432 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
kadence_toolkit_flushpermalinks |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Virtue/Ascend/Pinnacle Toolkit
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 14.47 ▲0.20 | 1.72 ▲0.02 | 42.58 ▼0.20 |
Dashboard /wp-admin | 2,239 ▲51 | 4.91 ▲0.01 | 111.80 ▲7.48 | 42.54 ▲1.40 |
Posts /wp-admin/edit.php | 2,290 ▲204 | 3.47 ▲1.47 | 96.96 ▲57.33 | 30.95 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,553 ▲20 | 18.54 ▼4.75 | 639.51 ▼43.90 | 34.77 ▼24.21 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.15 ▼0.07 | 81.37 ▼26.13 | 41.23 ▼6.71 |
Add New /wp-admin/post-new.php?post_type=portfolio | 6,303 | 23.60 | 887.86 | 33.08 |
Portfolio Type /wp-admin/edit-tags.php?taxonomy=portfolio-type&post_type=portfolio | 1,295 | 2.14 | 27.50 | 26.77 |
All Portfolio /wp-admin/edit.php?post_type=portfolio | 1,293 | 3.42 | 43.15 | 28.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- kadence_toolkit_flushpermalinks
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 take a closer look at the following
- 61× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/virtue-toolkit/cmb/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/virtue-toolkit/cmb/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/virtue-toolkit/cmb/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/virtue-toolkit/cmb/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/virtue-toolkit/cmb/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/virtue-toolkit/cmb/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/virtue-toolkit/shortcodes/youtube/youtube_popup.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/virtue-toolkit/author_box.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/virtue-toolkit/shortcodes/columns/columns_popup.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/virtue-toolkit/shortcodes.php:352
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please add at least on tag
virtue-toolkit/virtue_toolkit.php 92% from 13 tests
The principal PHP file in "Virtue/Ascend/Pinnacle Toolkit" v. 4.9.8 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("virtue-toolkit.php" instead of "virtue_toolkit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected58,477 lines of code in 256 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 126 | 20,245 | 32,717 | 36,890 |
PHP | 79 | 2,452 | 6,365 | 11,989 |
CSS | 15 | 274 | 1,191 | 5,200 |
JavaScript | 19 | 601 | 807 | 2,987 |
Sass | 17 | 306 | 29 | 1,411 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 19.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 9 | 11.69% |
▷ Concrete classes | 68 | 88.31% |
▷ Final classes | 0 | 0.00% |
Methods | 592 | |
▷ Static methods | 105 | 17.74% |
▷ Public methods | 495 | 83.61% |
▷ Protected methods | 89 | 15.03% |
▷ Private methods | 8 | 1.35% |
Functions | 87 | |
▷ Named functions | 87 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 5 | 45.45% |
▷ Class constants | 6 | 54.55% |
▷ Public constants | 6 | 100.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
26 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/portfolio-icon.png | 1.07KB | 0.28KB | ▼ 74.20% |
assets/select2.png | 0.60KB | 0.99KB | 0.00% |
cmb/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
shortcodes/vimeo/img/vimeo.png | 1.56KB | 0.95KB | ▼ 39.17% |