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.05MB] [CPU: ▼333.99ms] Passed 4 tests
Analyzing server-side resources used by Your social icons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 33.25 ▲10.61 |
Dashboard /wp-admin | 3.11 ▲0.06 | 42.81 ▲10.35 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 44.43 ▲5.44 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 91.94 ▼1,345.38 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 32.05 ▼6.35 |
Basic /wp-admin/admin.php?page=ysi_basic | 3.06 | 28.93 |
Your social icons /wp-admin/admin.php?page=ysi | 3.06 | 29.92 |
Expert /wp-admin/admin.php?page=ysi_expert | 3.03 | 29.10 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ysi-option |
Browser metrics Passed 4 tests
Your social icons: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,741 ▲135 | 15.86 ▼0.07 | 7.52 ▼2.04 | 48.31 ▼2.68 |
Dashboard /wp-admin | 2,992 ▲139 | 5.87 ▼0.11 | 140.64 ▲7.49 | 94.64 ▼5.00 |
Posts /wp-admin/edit.php | 2,765 ▲59 | 2.70 ▲0.02 | 67.81 ▲2.18 | 91.47 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,687 ▲110 | 19.14 ▲0.62 | 359.98 ▼10.60 | 111.04 ▲5.19 |
Media Library /wp-admin/upload.php | 1,834 ▲62 | 5.03 ▲0.03 | 159.54 ▲7.44 | 111.97 ▼1.92 |
Basic /wp-admin/admin.php?page=ysi_basic | 1,938 | 2.22 | 58.46 | 85.44 |
Your social icons /wp-admin/admin.php?page=ysi | 1,935 | 2.23 | 59.05 | 85.52 |
Expert /wp-admin/admin.php?page=ysi_expert | 1,197 | 2.10 | 55.85 | 76.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/your-social-icons/ysi_your_social_icons.php+21
Undefined variable: a
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: perfect social icons, sticky icons, social share, your icons, social media...
your-social-icons/ysi_your_social_icons.php 92% from 13 tests
"Your social icons" version 1.2.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: Please rename the main PHP file in this plugin to the plugin slug ("your-social-icons.php" instead of "ysi_your_social_icons.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin351 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 2 | 16 | 351 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 11 | |
▷ Named functions | 11 | 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 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
defaulticonssprite.png | 6.70KB | 2.99KB | ▼ 55.43% |