Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.80ms] Passed 4 tests
This is a short check of server-side resources used by Elevio
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.38 ▼3.57 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.33 ▲0.54 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.22 ▼7.08 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.60 ▼9.07 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.46 ▲2.57 |
Settings /wp-admin/admin.php?page=elevio_settings | 3.27 | 41.51 |
Server storage [IO: ▲0.04MB] [DB: ▲0.33MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Elevio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲67 | 13.15 ▼1.60 | 1.79 ▼0.41 | 42.76 ▼8.10 |
Dashboard /wp-admin | 2,218 ▲27 | 5.83 ▲0.93 | 97.25 ▼8.03 | 81.15 ▲42.10 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.02 ▼0.02 | 35.27 ▼4.31 | 32.67 ▼3.17 |
Add New Post /wp-admin/post-new.php | 1,541 ▲7 | 23.33 ▲0.01 | 700.79 ▲70.43 | 53.00 ▼2.72 |
Media Library /wp-admin/upload.php | 1,406 ▲21 | 4.23 ▲0.07 | 99.19 ▲2.00 | 74.89 ▲33.60 |
Settings /wp-admin/admin.php?page=elevio_settings | 1,095 | 2.15 | 26.75 | 76.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.33MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/elevio/elevio.php:16
- > PHP Fatal error
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
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
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Knowledge base - powered by Zendesk / Desk.com / Uservoice / Custom articles), #2 (Live Chat - Powered by Olark, LiveChat, Zopim), #3 (Support - Powered by Zendesk / Desk.com / Uservoice), #4 (Existing support tickets), #5 (View support ticket history), #6 (RSS Feed)
elevio/elevio.php Passed 13 tests
The primary PHP file in "Elevio" version 4.4.1 is used by WordPress to initiate all plugin functionality
57 characters long description:
A better way for your users to access the help they need.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected891 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 206 | 199 | 877 |
CSS | 1 | 3 | 0 | 14 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 9.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 1 | 10.00% |
Methods | 49 | |
▷ Static methods | 3 | 6.12% |
▷ Public methods | 41 | 83.67% |
▷ Protected methods | 6 | 12.24% |
▷ Private methods | 2 | 4.08% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin_files/images/favicon.png | 1.15KB | 0.81KB | ▼ 29.82% |
plugin_files/images/logo.png | 1.24KB | 1.40KB | 0.00% |