79% simple-quick-tags

Code Review | Simple Quick Tags

WordPress plugin Simple Quick Tags scored 79% from 54 tests.

About plugin

  • Plugin page: simple-quick-tags
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.2.2
  • WordPress version: 5.8.1
  • First release: Oct 29, 2014
  • Latest release: Jun 13, 2015
  • Number of updates: 6
  • Update frequency: every 42.5 days
  • Top authors: sharewebdesign (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

30+ active / 1,054 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼141.92ms] Passed 4 tests

Analyzing server-side resources used by Simple Quick Tags
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.0333.39 ▼0.76
Dashboard /wp-admin3.09 ▲0.0443.57 ▼4.57
Posts /wp-admin/edit.php3.14 ▲0.0449.43 ▲6.66
Add New Post /wp-admin/post-new.php5.45 ▲0.0286.87 ▼564.07
Media Library /wp-admin/upload.php3.04 ▲0.0335.17 ▲1.72
Simple Quick Tags /wp-admin/options-general.php?page=simple-quicktags2.9827.30

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options
sharewebdesign_plugin_notice_shown

Browser metrics Passed 4 tests

Simple Quick Tags: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,721 ▲12515.99 ▲0.399.09 ▼0.2144.78 ▼8.54
Dashboard /wp-admin2,973 ▲395.87 ▼0.12169.80 ▲22.82119.50 ▲7.07
Posts /wp-admin/edit.php2,744 ▲52.71 ▼0.0067.95 ▲0.1284.26 ▼2.90
Add New Post /wp-admin/post-new.php1,689 ▲7418.34 ▲5.09390.50 ▲21.38109.00 ▼11.13
Media Library /wp-admin/upload.php1,812 ▲25.03 ▼0.01144.72 ▼13.54111.26 ▲2.10
Simple Quick Tags /wp-admin/options-general.php?page=simple-quicktags1,3082.0953.6966.25

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • sharewebdesign_plugin_notice_shown

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=simple-quicktags
    • > User deprecated in wp-includes/functions.php+5221
    screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=simple-quicktags
    • > User deprecated in wp-includes/functions.php+5221
    get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/simple-quick-tags/simple-quick-tags.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: quicktags, text editor, html

simple-quick-tags/simple-quick-tags.php Passed 13 tests

The principal PHP file in "Simple Quick Tags" v. 1.1 is loaded by WordPress automatically on each request
38 characters long description:
Adds quicktags to WordPress text area.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected117 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11916117

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin