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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.84ms] Passed 4 tests
Analyzing server-side resources used by gosquared-official
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.04 | 41.69 ▼0.67 |
Dashboard /wp-admin | 3.39 ▲0.01 | 54.33 ▼10.99 |
Posts /wp-admin/edit.php | 3.51 ▲0.11 | 51.93 ▲2.23 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.05 | 87.68 ▲2.06 |
Media Library /wp-admin/upload.php | 3.32 ▲0.05 | 42.03 ▲6.49 |
GoSquared /wp-admin/options-general.php?page=gosquared-official-plugin | 3.28 | 33.85 |
Server storage [IO: ▲3.43MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for gosquared-official
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 14.77 ▲0.42 | 2.91 ▲0.99 | 43.90 ▲1.79 |
Dashboard /wp-admin | 2,204 ▲33 | 5.63 ▼0.01 | 93.34 ▲3.85 | 38.88 ▼8.43 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.02 ▲0.02 | 33.48 ▼1.61 | 36.37 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.08 ▼0.06 | 668.70 ▼28.19 | 56.39 ▼2.89 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.18 ▼0.07 | 96.63 ▼20.44 | 43.31 ▼3.99 |
GoSquared /wp-admin/options-general.php?page=gosquared-official-plugin | 843 | 1.99 | 21.50 | 29.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% 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
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== gosquared-official ===
)
gosquared-official/gosquared-official.php 85% from 13 tests
The main file in "gosquared-official" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 76 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin286 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 27 | 201 |
Markdown | 1 | 18 | 0 | 45 |
CSS | 1 | 4 | 0 | 18 |
JSON | 1 | 0 | 0 | 12 |
XML | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
13 PNG files occupy 3.35MB with 2.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544X400.png | 404.78KB | 89.59KB | ▼ 77.87% |
assets/banner-772x250.png | 140.45KB | 32.51KB | ▼ 76.85% |
assets/screenshot-5.png | 117.45KB | 38.12KB | ▼ 67.54% |
assets/screenshot-2.png | 180.54KB | 40.44KB | ▼ 77.60% |
assets/icon-128x128.png | 4.09KB | 1.37KB | ▼ 66.52% |