Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.04ms] Passed 4 tests
Analyzing server-side resources used by Simple Widget Title Links
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.55 ▲1.56 |
Dashboard /wp-admin | 3.38 ▲0.07 | 45.30 ▼3.67 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.61 ▼1.11 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.16 ▼16.92 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.42 ▲1.80 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Widget Title Links
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.44 ▼0.31 | 1.71 ▼0.06 | 41.71 ▼7.19 |
Dashboard /wp-admin | 2,206 ▲18 | 5.79 ▲0.69 | 95.80 ▼7.76 | 38.18 ▼5.03 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.01 | 35.89 ▼6.87 | 31.51 ▼2.57 |
Add New Post /wp-admin/post-new.php | 1,535 ▲1 | 23.53 ▲0.52 | 655.55 ▲4.60 | 52.30 ▼14.77 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.24 ▲0.07 | 94.03 ▼7.04 | 43.50 ▲0.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Widget options)
simple-widget-title-links/simple-widget-title-links.php 92% from 13 tests
The entry point to "Simple Widget Title Links" version 1.0.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected665 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 136 | 472 | 563 |
JSON | 1 | 0 | 0 | 102 |
PHP code Passed 2 tests
A short review 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.41 |
Average class complexity | 11.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 9 | 20.00% |
▷ Public methods | 40 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.11% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 88.16KB | 31.06KB | ▼ 64.76% |