94% super-simple-social-tags

Code Review | Super Simple Social Tags

WordPress plugin Super Simple Social Tags scored 94% from 54 tests.

About plugin

  • Plugin page: super-simple-soci...
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9.8
  • WordPress version: 5.8.1
  • First release: Sep 3, 2018
  • Latest release: Sep 3, 2018
  • Number of updates: 3
  • Update frequency: every 0.7 days
  • Top authors: beefysoftware (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 314 total downloads


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
Install script ran successfully

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

This is a short check of server-side resources used by Super Simple Social Tags
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1341.74 ▲17.38
Dashboard /wp-admin3.07 ▲0.0150.05 ▲2.42
Posts /wp-admin/edit.php3.12 ▲0.0149.71 ▲2.49
Add New Post /wp-admin/post-new.php5.43 ▼0.0194.93 ▼567.97
Media Library /wp-admin/upload.php3.01 ▲0.0135.61 ▼1.00

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Super Simple Social Tags
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8315.80 ▲0.138.58 ▼0.3747.80 ▼3.29
Dashboard /wp-admin2,967 ▲335.94 ▼0.16142.19 ▼9.72117.38 ▼8.10
Posts /wp-admin/edit.php2,739 ▼02.70 ▲0.0171.85 ▲1.9391.45 ▼11.76
Add New Post /wp-admin/post-new.php1,683 ▼018.77 ▲0.68386.85 ▼4.76113.18 ▼9.42
Media Library /wp-admin/upload.php1,807 ▲595.04 ▲0.02168.60 ▲13.84131.90 ▲5.36

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/super-simple-social-tags/super-simple-social-tags.php:36

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


Plugin configuration Passed 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: structured data, social networking, seo, social media, open graph

super-simple-social-tags/super-simple-social-tags.php Passed 13 tests

"Super Simple Social Tags" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
100 characters long description:
Super lightweight plugin to add social media meta tags for Facebook and Twitter. Adds tags to posts.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin54 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
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 functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
PNG images were not found in this plugin