Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼307.75ms] Passed 4 tests
Analyzing server-side resources used by 3 Sheep Signatures
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 76.62 ▼41.54 |
Dashboard /wp-admin | 3.41 ▲0.00 | 37.64 ▲2.10 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 38.54 ▲0.76 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 90.66 ▼1,189.24 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.97 ▼0.96 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 2 new options
New WordPress options |
---|
tssig_data0 |
tssig_count |
Browser metrics Passed 4 tests
An overview of browser requirements for 3 Sheep Signatures
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 16.18 ▲0.89 | 5.95 ▲0.08 | 2.17 ▼0.25 |
Dashboard /wp-admin | 2,885 ▲28 | 6.13 ▼0.02 | 126.61 ▼11.10 | 171.47 ▲12.93 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.00 | 63.55 ▲1.96 | 147.17 ▲5.15 |
Add New Post /wp-admin/post-new.php | 1,711 ▲50 | 20.74 ▲4.50 | 455.95 ▲12.56 | 212.43 ▲3.81 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.46 ▼0.07 | 153.85 ▲12.19 | 262.54 ▲69.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 2 options
- tssig_count
- tssig_data0
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/3-sheep-signatures/3SheepSig.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (screenshot-1.png - The settings panel) image not found
3-sheep-signatures/3SheepSig.php 85% from 13 tests
This is the main PHP file of "3 Sheep Signatures" version 1.00, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("3-sheep-signatures.php" instead of "3SheepSig.php")
- Description: Keep the plugin description shorter than 140 characters (currently 156 characters long)
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 detected119 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 12 | 119 |
PHP code Passed 2 tests
This is a very shot 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.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Screenshot-1.png | 54.68KB | 23.00KB | ▼ 57.93% |