Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.76ms] Passed 4 tests
Analyzing server-side resources used by WP Vue by Shaanz
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.17 ▲4.15 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.49 ▲0.16 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.43 ▲2.28 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 79.38 ▼15.43 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 31.85 ▼2.04 |
WP Vue /wp-admin/options-general.php?page=shaanz_wp_vue_settings | 3.21 | 28.76 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Vue by Shaanz
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.14 ▼0.20 | 1.72 ▲0.25 | 49.46 ▲10.19 |
Dashboard /wp-admin | 2,196 ▲15 | 5.53 ▼0.25 | 86.15 ▼11.56 | 36.79 ▼6.31 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.03 | 33.73 ▼3.04 | 33.94 ▼1.51 |
Add New Post /wp-admin/post-new.php | 6,264 ▲4,736 | 26.11 ▲3.05 | 927.45 ▲247.90 | 68.64 ▲11.16 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.16 ▲0.00 | 94.49 ▼16.81 | 42.65 ▼2.40 |
WP Vue /wp-admin/options-general.php?page=shaanz_wp_vue_settings | 858 | 1.99 | 21.98 | 29.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-vue-by-shaanz/wp-vue-by-shaanz.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Contributors: Plugin contributors field is missing
wp-vue-by-shaanz/wp-vue-by-shaanz.php Passed 13 tests
Analyzing the main PHP file in "WP Vue by Shaanz" version 0.2.4
106 characters long description:
WP Vue adds the power of VueJS to Wordpress. This plugin loads the VueJS script to the page that you want.
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
Everything looks great! No dangerous files found in this plugin596 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 192 | 263 | 578 |
JSON | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 8.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 2 | 20.00% |
Methods | 44 | |
▷ Static methods | 10 | 22.73% |
▷ Public methods | 41 | 93.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.82% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin