83% cvw-social-share

Code Review | Simpliest Social Share

WordPress plugin Simpliest Social Share scored83%from 54 tests.

About plugin

  • Plugin page: cvw-social-share
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.1.1
  • WordPress version: 6.3.1
  • First release: Sep 10, 2018
  • Latest release: Feb 10, 2023
  • Number of updates: 36
  • Update frequency: every 44.9 days
  • Top authors: cowalenciawebs (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

900+ active /6,199 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼4.60ms] Passed 4 tests

Analyzing server-side resources used by Simpliest Social Share
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.78 ▲0.0540.61 ▼4.10
Dashboard /wp-admin3.62 ▼0.0152.25 ▼13.39
Posts /wp-admin/edit.php3.73 ▲0.0553.07 ▲1.46
Add New Post /wp-admin/post-new.php6.20 ▲0.0599.36 ▼1.14
Media Library /wp-admin/upload.php3.54 ▲0.0538.30 ▲0.25

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Simpliest Social Share
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲4314.72 ▲0.321.75 ▼0.2940.23 ▼1.25
Dashboard /wp-admin2,201 ▲245.61 ▼0.0789.59 ▼6.3860.56 ▲18.39
Posts /wp-admin/edit.php2,115 ▲182.06 ▲0.0741.83 ▲3.2538.06 ▲4.96
Add New Post /wp-admin/post-new.php1,544 ▲1823.23 ▲5.54671.59 ▼4.9964.50 ▲9.27
Media Library /wp-admin/upload.php1,409 ▲124.25 ▲0.00101.29 ▼3.1567.65 ▲22.49

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 3× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/cvw-social-share/cvw-social-share.php:18
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cvw-social-share/includes/admin.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cvw-social-share/includes/frontend.php:16

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 issues were found


Plugin configuration 90% from 29 tests

readme.txt 94% from 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
Attributes that need to be fixed:
  • Donate link: Invalid URI ("")
You can take inspiration from this readme.txt

cvw-social-share/cvw-social-share.php 85% from 13 tests

"Simpliest Social Share" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
  • Domain Path: Use only dashes and lowercase characters for the domain path ("languages")

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
Everything looks great! No dangerous files found in this plugin3,446 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PO File1212159

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.35
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions10100.00%
▷ Anonymous functions00.00%
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/square.png0.70KB0.28KB▼ 59.86%
images/square-plain.png0.68KB0.24KB▼ 65.29%
images/covalenciawebs.png21.11KB12.60KB▼ 40.31%
images/round.png1.46KB0.91KB▼ 38.07%
images/round-plain.png1.63KB0.66KB▼ 59.74%