Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼289.95ms] Passed 4 tests
Analyzing server-side resources used by Advanced Social icons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.24 | 60.27 ▲9.16 |
Dashboard /wp-admin | 3.58 ▲0.17 | 34.60 ▼1.99 |
Posts /wp-admin/edit.php | 3.80 ▲0.16 | 38.58 ▲2.57 |
Add New Post /wp-admin/post-new.php | 7.04 ▲0.07 | 96.05 ▼1,164.60 |
Media Library /wp-admin/upload.php | 3.45 ▲0.16 | 27.12 ▲4.21 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Social icons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲62 | 15.81 ▲0.20 | 5.94 ▲0.16 | 2.66 ▲0.50 |
Dashboard /wp-admin | 2,892 ▲31 | 6.26 ▲0.11 | 117.83 ▼10.28 | 155.40 ▼0.05 |
Posts /wp-admin/edit.php | 2,688 ▼0 | 3.24 ▼0.00 | 64.17 ▲2.83 | 138.16 ▲2.54 |
Add New Post /wp-admin/post-new.php | 1,690 ▲29 | 20.59 ▲4.23 | 418.37 ▲8.72 | 158.01 ▲5.17 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.52 ▼0.00 | 140.57 ▲0.08 | 185.67 ▼4.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: share, social media, custom icons, social widget, font awesome...
advance-social-icons/plugin.php 85% from 13 tests
"Advanced Social icons" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 261 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("advance-social-icons.php" instead of "plugin.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
There were no executable files found in this plugin1,398 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 183 | 212 | 723 |
JavaScript | 5 | 89 | 106 | 334 |
HTML | 1 | 1 | 0 | 266 |
CSS | 2 | 8 | 5 | 75 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 7 | 22.58% |
▷ Public methods | 29 | 93.55% |
▷ Protected methods | 2 | 6.45% |
▷ Private methods | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin