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.07MB] [CPU: ▼1.83ms] Passed 4 tests
Server-side resources used by Share On Wrauter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 44.70 ▲6.30 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.95 ▼4.02 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 52.80 ▲1.90 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 85.46 ▼7.02 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 35.88 ▲1.82 |
Server storage [IO: ▲0.35MB] [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: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Share On Wrauter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.73 ▲0.56 | 1.86 ▲0.20 | 39.82 ▼5.28 |
Dashboard /wp-admin | 2,207 ▲27 | 5.55 ▼0.13 | 92.27 ▲2.17 | 68.17 ▲16.43 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.12 ▲0.14 | 37.97 ▼1.91 | 32.41 ▼4.91 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 22.96 ▲0.11 | 682.93 ▲1.99 | 147.51 ▲88.25 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.20 ▼0.01 | 96.30 ▼10.00 | 65.16 ▲19.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 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 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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/share-on-wrauter/classes/wrauterwpadmin.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/share-on-wrauter/classes/wrauterwp.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Requires php: The plugin version is formatted incorrectly
- Contributors: The plugin contributors field is missing
- Screenshots: No descriptions were found for these screenshots #1, #2 in share-on-wrauter/assets to your readme.txt
share-on-wrauter/wrauterwp.php 85% from 13 tests
"Share On Wrauter" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("share-on-wrauter.php" instead of "wrauterwp.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,819 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 123 | 7 | 1,224 |
PHP | 5 | 67 | 122 | 385 |
JavaScript | 1 | 7 | 4 | 191 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.50 |
▷ 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 | 16 | |
▷ Static methods | 2 | 12.50% |
▷ Public methods | 12 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 25.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.18MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/share-setup.png | 3.01KB | 1.88KB | ▼ 37.69% |
assets/images/icon.png | 2.77KB | 1.36KB | ▼ 51.02% |
assets/images/welovez-icon.png | 1.00KB | 0.81KB | ▼ 19.53% |
assets/images/wrauterwp.png | 172.69KB | 55.78KB | ▼ 67.70% |