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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.85ms] Passed 4 tests
Analyzing server-side resources used by VigLink
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 47.08 ▲4.26 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.31 ▼21.69 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.21 ▼3.85 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.09 ▲1.66 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.92 ▲0.48 |
VigLink /wp-admin/options-general.php?page=viglink/viglink.php | 3.23 | 44.09 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
key |
can_compress_scripts |
enable-rss-rewrites |
db_upgraded |
is-not-first-load |
Browser metrics Passed 4 tests
An overview of browser requirements for VigLink
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲84 | 14.81 ▲0.06 | 2.32 ▲0.28 | 44.15 ▼10.48 |
Dashboard /wp-admin | 2,228 ▲25 | 5.86 ▲0.01 | 97.21 ▼21.61 | 38.16 ▼4.02 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.05 | 36.96 ▼5.89 | 37.04 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,558 ▲27 | 23.40 ▲0.12 | 633.04 ▼41.75 | 67.38 ▲3.36 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.18 ▼0.04 | 101.37 ▼22.10 | 47.75 ▼4.24 |
VigLink /wp-admin/options-general.php?page=viglink/viglink.php | 824 | 2.04 | 29.03 | 32.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- key
- theysaidso_admin_options
- enable-rss-rewrites
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- is-not-first-load
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/viglink/viglink.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Screenshot #1 (**The Settings Page** - Once you're signed up at viglink.com, copy and paste your VigLink key from [sites](https://publishers.viglink.com/publisher/sites), and click the key icon next to the site you are using.) image not found
viglink/viglink.php 92% from 13 tests
The entry point to "VigLink" version 1.0.6 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 315 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected275 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 57 | 189 |
JavaScript | 1 | 12 | 1 | 63 |
CSS | 1 | 5 | 0 | 23 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-32x32.png | 0.79KB | 0.62KB | ▼ 21.36% |
screenshot-1.png | 51.20KB | 19.74KB | ▼ 61.44% |