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
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.30ms] Passed 4 tests
Server-side resources used by Vantevo Analytics
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.82 ▼2.40 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.65 ▼5.15 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.80 ▼2.85 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.52 ▼2.79 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.32 ▲5.03 |
Vantevo Analytics /wp-admin/options-general.php?page=vantevo | 3.23 | 33.21 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 24 new options
New WordPress options |
---|
vantevo_option_domain |
vantevo_option_hash |
vantevo_option_scroll_page_25 |
vantevo_option_active_ecommerce |
theysaidso_admin_options |
widget_recent-comments |
vantevo_option_scroll_page_75 |
db_upgraded |
vantevo_option_manual_pageview |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Vantevo Analytics: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲49 | 14.29 ▼0.06 | 2.11 ▼0.06 | 43.44 ▼4.07 |
Dashboard /wp-admin | 2,206 ▲29 | 5.59 ▼0.00 | 92.41 ▲6.70 | 37.20 ▼2.67 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.97 ▲0.01 | 36.71 ▼2.95 | 34.67 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.13 ▲0.05 | 673.25 ▲31.39 | 67.69 ▲18.09 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.19 ▲0.12 | 95.29 ▼10.29 | 41.91 ▼1.00 |
Vantevo Analytics /wp-admin/options-general.php?page=vantevo | 1,227 | 1.78 | 23.89 | 32.69 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% 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
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in vantevo-analytics/assets to your readme.txt
vantevo-analytics/index.php 85% from 13 tests
The principal PHP file in "Vantevo Analytics" v. 1.1.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 172 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("vantevo-analytics.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,428 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 198 | 117 | 1,152 |
PO File | 1 | 64 | 99 | 206 |
CSS | 1 | 4 | 0 | 68 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 35.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 24 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 20.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected