84% inline-quote-tag

Code Review | Inline Quote & Cite Tags

WordPress plugin Inline Quote & Cite Tags scored84%from 54 tests.

About plugin

  • Plugin page: inline-quote-tag
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.9
  • WordPress version: 6.3.1
  • First release: Sep 11, 2010
  • Latest release: Nov 16, 2017
  • Number of updates: 29
  • Update frequency: every 90.5 days
  • Top authors: husobj (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active /3,998 total downloads

Benchmarks

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.01MB] [CPU: ▼3.71ms] Passed 4 tests

This is a short check of server-side resources used by Inline Quote & Cite Tags
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0134.87 ▼4.72
Dashboard /wp-admin3.31 ▲0.0144.85 ▼5.37
Posts /wp-admin/edit.php3.36 ▲0.0147.75 ▲0.92
Add New Post /wp-admin/post-new.php5.89 ▲0.0185.68 ▼5.66
Media Library /wp-admin/upload.php3.23 ▲0.0135.03 ▲5.73

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Inline Quote & Cite Tags
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲6813.59 ▼0.771.92 ▼0.0340.33 ▼6.00
Dashboard /wp-admin2,206 ▲184.89 ▼0.04107.62 ▼8.6937.45 ▼6.49
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0139.62 ▼0.5435.13 ▼5.88
Add New Post /wp-admin/post-new.php1,533 ▲1923.15 ▲5.65622.60 ▼6.2559.12 ▲12.47
Media Library /wp-admin/upload.php1,388 ▲34.17 ▼0.0294.61 ▼7.9542.83 ▼3.56

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts

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)
Even though everything seems fine, this is not an exhaustive test

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
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/inline-quote-tag/inline-quote-tag.php:40

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: html, editor, quote

inline-quote-tag/inline-quote-tag.php Passed 13 tests

"Inline Quote & Cite Tags" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
45 characters long description:
Insert HTML inline quote `q` and `cite` tags.

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
There were no executable files found in this plugin166 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
Markdown223055
JavaScript2202252
PHP1265430
SVG20229

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.60
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods480.00%
▷ Protected methods00.00%
▷ Private methods120.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
js/tinymce/plugins/qtag/img/button.png0.55KB0.55KB▼ 1.58%
js/tinymce/plugins/citetag/img/button.png0.38KB0.36KB▼ 5.63%