Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.18ms] Passed 4 tests
A check of server-side resources used by Speakol
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 49.51 ▲9.62 |
Dashboard /wp-admin | 3.38 ▲0.08 | 52.89 ▲2.35 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.32 ▲0.46 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.09 | 92.20 ▼12.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 36.41 ▲0.93 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Speakol: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲47 | 14.22 ▼0.37 | 2.18 ▲0.28 | 42.65 ▼2.94 |
Dashboard /wp-admin | 2,202 ▲22 | 5.56 ▼0.10 | 84.10 ▼3.53 | 67.93 ▲32.23 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.03 ▲0.02 | 39.21 ▲2.48 | 32.57 ▼3.97 |
Add New Post /wp-admin/post-new.php | 1,544 ▲13 | 22.74 ▼0.30 | 755.15 ▲78.51 | 59.20 ▲9.17 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.21 ▼0.04 | 103.48 ▼3.62 | 77.06 ▲27.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/speakol/Speakol.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/speakol/views/argumentsbox.php on line 2
- > PHP Notice
Undefined variable: settings in wp-content/plugins/speakol/views/argumentsbox.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function selected() in wp-content/plugins/speakol/views/lang.php:3
- > PHP Notice
Undefined variable: disabled in wp-content/plugins/speakol/views/displaysin.php on line 1
- > PHP Notice
Undefined variable: disabled in wp-content/plugins/speakol/views/lang.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function selected() in wp-content/plugins/speakol/views/displaysin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/speakol/views/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/speakol/views/argboxstatus.php:1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
There were not plugin tags detected
speakol/Speakol.php 92% from 13 tests
"Speakol" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("speakol.php" instead of "Speakol.php")
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 detected376 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 78 | 8 | 304 |
CSS | 1 | 10 | 3 | 41 |
JavaScript | 1 | 3 | 0 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 2 | 5.88% |
▷ Private methods | 4 | 11.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo.png | 2.97KB | 0.44KB | ▼ 85.11% |