84% skins-for-social-media-feather

Code Review | Skins for Social Media Feather

WordPress plugin Skins for Social Media Feather scored84%from 54 tests.

About plugin

  • Plugin page: skins-for-social-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-5.1
  • WordPress version: 6.3.1
  • First release: Mar 14, 2019
  • Latest release: Mar 14, 2019
  • Number of updates: 14
  • Update frequency: every 0.1 days
  • Top authors: susanwrotethis (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,872 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼8.02ms] Passed 4 tests

An overview of server-side resources used by Skins for Social Media Feather
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.55 ▲5.15
Dashboard /wp-admin3.32 ▼0.0244.96 ▼17.87
Posts /wp-admin/edit.php3.37 ▲0.0249.60 ▼1.93
Add New Post /wp-admin/post-new.php5.90 ▲0.0289.56 ▼15.89
Media Library /wp-admin/upload.php3.24 ▲0.0236.13 ▲3.60

Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 649 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Skins for Social Media Feather
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.48 ▲0.101.78 ▲0.0843.19 ▲3.50
Dashboard /wp-admin2,203 ▲125.80 ▲0.9396.50 ▼5.1539.80 ▼3.52
Posts /wp-admin/edit.php2,089 ▼31.99 ▼0.0239.77 ▼2.9735.80 ▼1.78
Add New Post /wp-admin/post-new.php1,514 ▼2917.47 ▼0.83661.74 ▲45.4751.07 ▼2.95
Media Library /wp-admin/upload.php1,388 ▼04.16 ▼0.0595.26 ▼1.1042.97 ▲1.71

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
Please take a closer look at the following
  • 9× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/skins-for-social-media-feather/img/white-color-round/index.php
    • > /wp-content/plugins/skins-for-social-media-feather/img/white-color-square/index.php
    • > /wp-content/plugins/skins-for-social-media-feather/lang/index.php
    • > /wp-content/plugins/skins-for-social-media-feather/img/white-black-square/index.php
    • > /wp-content/plugins/skins-for-social-media-feather/img/color-white-square/index.php
    • > /wp-content/plugins/skins-for-social-media-feather/img/white-black-round/index.php
    • > /wp-content/plugins/skins-for-social-media-feather/index.php
    • > /wp-content/plugins/skins-for-social-media-feather/img/color-white-round/index.php
    • > /wp-content/plugins/skins-for-social-media-feather/img/index.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: socicon, social buttons, social media, social sharing, share

skins-for-social-media-feather/skins-for-social-media-feather.php 85% from 13 tests

Analyzing the main PHP file in "Skins for Social Media Feather" version 1.0
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 197 characters long)
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin72 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP361772

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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.51MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/white-black-square/64x64/instagram.png1.08KB1.63KB0.00%
img/color-white-round/128x128/youtube.png2.19KB2.24KB0.00%
img/white-color-square/128x128/pinterest.png1.86KB2.08KB0.00%
img/white-color-square/64x64/flickr.png0.50KB0.66KB0.00%
img/color-white-round/32x32/google_plus.png0.65KB0.85KB0.00%