Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.98ms] Passed 4 tests
This is a short check of server-side resources used by Tuxquote
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.19 ▼6.19 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.17 ▼4.40 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 51.45 ▲4.37 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.20 ▼14.55 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.16 ▲1.22 |
Server storage [IO: ▲11.76MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 174 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_tuxquote_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Tuxquote
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.16 ▼1.14 | 1.69 ▼0.03 | 42.13 ▼1.28 |
Dashboard /wp-admin | 2,200 ▲12 | 4.87 ▼1.10 | 109.71 ▼6.08 | 39.34 ▼3.01 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.02 | 39.46 ▲2.30 | 36.75 ▼2.73 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.10 ▼0.08 | 679.47 ▲9.11 | 62.29 ▲11.99 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.20 ▼0.02 | 96.89 ▼5.38 | 42.83 ▲1.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_tuxquote_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/tuxquote/tuxquote.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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Tuxquote in action - static sample only.), #2 (Tuxquote in action - static sample only.)
- Donate link: Please fix this invalid URI: ""
tuxquote/tuxquote.php Passed 13 tests
The principal PHP file in "Tuxquote" v. 1.3 is loaded by WordPress automatically on each request
65 characters long description:
Show a random image of Tux the Linux penguin with a random quote.
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
Success! There were no dangerous files found in this plugin113 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 72 | 113 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
164 PNG files occupy 11.17MB with 7.67MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/santang-tux-on-wc-9566.png | 60.21KB | 18.23KB | ▼ 69.73% |
images/pusio-yankees-tux-18626.png | 41.42KB | 14.21KB | ▼ 65.70% |
images/kami23-william-wallux-+-sword-4918.png | 78.66KB | 25.17KB | ▼ 68.00% |
images/overlord59-devil-may-cry-1645.png | 57.91KB | 19.05KB | ▼ 67.11% |
images/nidoki-super-tux-1815.png | 48.24KB | 13.10KB | ▼ 72.84% |