Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.30ms] Passed 4 tests
Analyzing server-side resources used by Advanced Social icons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.05 ▲1.93 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.57 ▼5.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.72 ▼0.08 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 80.46 ▼21.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.43 ▲2.14 |
Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Advanced Social icons: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.23 ▼1.07 | 4.63 ▲2.86 | 43.81 ▲2.41 |
Dashboard /wp-admin | 2,209 ▲18 | 4.84 ▼0.02 | 107.22 ▲7.70 | 36.81 ▼5.71 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.01 | 36.59 ▼3.66 | 34.11 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,533 ▲11 | 23.28 ▲0.27 | 652.97 ▲26.67 | 58.12 ▲5.63 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.02 | 93.89 ▲0.40 | 41.76 ▲0.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Requires at least: Version not formatted correctly
- Requires php: Version not formatted correctly
advance-social-icons/plugin.php 85% from 13 tests
The main file in "Advanced Social icons" v. 3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
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: The principal 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 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,398 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 175 | 212 | 723 |
JavaScript | 5 | 89 | 106 | 334 |
HTML | 1 | 1 | 0 | 266 |
CSS | 2 | 8 | 5 | 75 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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
PNG images were not found in this plugin