Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼293.34ms] Passed 4 tests
Server-side resources used by Advanced Skins for Social Media Feather
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 58.28 ▲10.14 |
Dashboard /wp-admin | 3.43 ▲0.02 | 33.87 ▼0.36 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 36.74 ▼0.15 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.06 | 96.55 ▼1,169.81 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 24.66 ▼3.02 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 649 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Skins for Social Media Feather
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲73 | 15.81 ▲0.16 | 6.26 ▲0.24 | 2.63 ▲0.31 |
Dashboard /wp-admin | 2,888 ▲30 | 6.17 ▼0.01 | 116.52 ▼18.30 | 154.67 ▼5.42 |
Posts /wp-admin/edit.php | 2,694 ▲9 | 3.02 ▼0.21 | 63.31 ▼0.24 | 141.01 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,661 ▼7 | 16.94 ▼1.08 | 433.20 ▲24.80 | 161.09 ▲5.15 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.55 ▲0.03 | 142.11 ▲7.53 | 184.28 ▼6.26 |
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
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 9× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/white-transparent/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/lang/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/black-transparent/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/color-transparent/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/silver-transparent/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/blue-transparent/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/gray-transparent/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: socicon, social media, share, social buttons, social sharing
advanced-skins-for-social-media-feather/advanced-skins-for-social-media-feather.php 85% from 13 tests
Analyzing the main PHP file in "Advanced Skins for Social Media Feather" version 1.0
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 272 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected72 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 6 | 17 | 72 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 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
594 compressed PNG files occupy 0.31MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/gray-transparent/96x96/reddit.png | 0.75KB | 0.79KB | 0.00% |
img/white-transparent/16x16/vimeo.png | 0.31KB | 0.37KB | 0.00% |
img/color-transparent/16x16/pinterest.png | 0.31KB | 0.38KB | 0.00% |
img/blue-transparent/32x32/flickr.png | 0.26KB | 0.30KB | 0.00% |
img/black-transparent/24x24/facebook.png | 0.17KB | 0.25KB | 0.00% |