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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.78ms] Passed 4 tests
Analyzing server-side resources used by Advanced Skins for Social Media Feather
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.45 ▼3.66 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.61 ▼0.52 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.14 ▼3.16 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.68 ▼19.78 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.94 ▲5.07 |
Server storage [IO: ▲0.33MB] [DB: ▲0.33MB] 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, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Skins for Social Media Feather
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.44 ▲0.05 | 1.76 ▲0.14 | 45.46 ▼1.46 |
Dashboard /wp-admin | 2,209 ▲21 | 5.87 ▲0.01 | 97.38 ▼4.30 | 47.68 ▲2.57 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.06 ▲0.06 | 33.36 ▼7.97 | 33.10 ▼2.60 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.41 ▼5.78 | 667.13 ▲8.28 | 53.26 ▲0.81 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▼0.01 | 108.62 ▲2.15 | 47.43 ▼1.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.33MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 9× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/color-transparent/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/gray-transparent/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/white-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/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/black-transparent/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/lang/index.php
- > /wp-content/plugins/advanced-skins-for-social-media-feather/img/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: social media, share, social buttons, socicon, social sharing
advanced-skins-for-social-media-feather/advanced-skins-for-social-media-feather.php 85% from 13 tests
The main PHP script in "Advanced Skins for Social Media Feather" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin72 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
An overview of cyclomatic complexity and code structure
No complexity issues 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
Using a strong compression for your PNG files is a great way to speed-up 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/white-transparent/16x16/linkedin.png | 0.29KB | 0.36KB | 0.00% |
img/blue-transparent/96x96/facebook.png | 0.38KB | 0.40KB | 0.00% |
img/silver-transparent/96x96/tumblr.png | 0.45KB | 0.49KB | 0.00% |
img/silver-transparent/64x64/pinterest.png | 0.61KB | 0.64KB | 0.00% |
img/black-transparent/32x32/facebook.png | 0.20KB | 0.28KB | 0.00% |