84% zoorvy-social-share

Code Review | Zoorvy Social Share

WordPress plugin Zoorvy Social Share scored84%from 54 tests.

About plugin

  • Plugin page: zoorvy-social-share
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4.1
  • WordPress version: 6.3.1
  • First release: Jan 30, 2016
  • Latest release: Jan 30, 2016
  • Number of updates: 6
  • Update frequency: every 0.2 days
  • Top authors: saivarunk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /746 total downloads

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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.11MB] [CPU: ▼2.61ms] Passed 4 tests

Server-side resources used by Zoorvy Social Share
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1039.30 ▲1.52
Dashboard /wp-admin3.41 ▲0.1146.39 ▲0.37
Posts /wp-admin/edit.php3.53 ▲0.1745.59 ▼0.82
Add New Post /wp-admin/post-new.php6.01 ▲0.1293.55 ▼7.70
Media Library /wp-admin/upload.php3.33 ▲0.1031.74 ▼2.29
Zoorvy Social Share /wp-admin/options-general.php?page=zoorvy-social-share3.3032.18

Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Zoorvy Social Share: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,985 ▲23913.53 ▼1.0611.35 ▲9.5243.41 ▲3.12
Dashboard /wp-admin2,203 ▲285.56 ▼0.1584.06 ▼16.8936.94 ▼3.06
Posts /wp-admin/edit.php2,108 ▲82.03 ▼0.1236.31 ▼1.7039.00 ▲5.61
Add New Post /wp-admin/post-new.php1,533 ▼1023.31 ▲0.20639.65 ▼21.1856.81 ▲6.16
Media Library /wp-admin/upload.php1,411 ▲84.29 ▲0.1394.46 ▼4.1843.98 ▼0.53
Zoorvy Social Share /wp-admin/options-general.php?page=zoorvy-social-share1,1324.81119.2744.56

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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 fix the following items
  • 2× PHP files output text when accessed directly:
    • > /wp-content/plugins/zoorvy-social-share/public/partials/zoorvy-social-share-public-display.php
    • > /wp-content/plugins/zoorvy-social-share/admin/partials/zoorvy-social-share-admin-display.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 97% 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
These attributes need to be fixed:
  • Tags: You are using too many tags: 32 tag instead of maximum 10
You can take inspiration from this readme.txt

zoorvy-social-share/zoorvy-social-share.php Passed 13 tests

This is the main PHP file of "Zoorvy Social Share" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
94 characters long description:
Simple Responsive Social Sharing buttons for WordPress that dosent effect the pageload speeds.

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
No dangerous file extensions were detected688 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP12200528431
JavaScript27080256
CSS2041

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity1.29
▷ Minimum class complexity1.00
▷ Maximum class complexity3.00
Average method complexity1.09
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods23
▷ Static methods28.70%
▷ Public methods1878.26%
▷ Protected methods00.00%
▷ Private methods521.74%
Functions16
▷ Named functions16100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin