84% wp-russian-quicktags

Code Review | WP Russian Quicktags

WordPress plugin WP Russian Quicktags scored 84% from 54 tests.

About plugin

  • Plugin page: wp-russian-quicktags
  • Plugin version: 1.04
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-6.1
  • WordPress version: 6.3.1
  • First release: Jul 22, 2014
  • Latest release: Oct 30, 2022
  • Number of updates: 34
  • Update frequency: every 88.9 days
  • Top authors: Flector (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

80+ active / 3,564 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by WP Russian Quicktags
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.63 ▼5.72
Dashboard /wp-admin3.31 ▲0.0151.12 ▼2.61
Posts /wp-admin/edit.php3.36 ▲0.0148.02 ▲4.57
Add New Post /wp-admin/post-new.php5.89 ▲0.0185.62 ▼9.51
Media Library /wp-admin/upload.php3.24 ▲0.0133.51 ▼2.71

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

WP Russian Quicktags: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲7013.63 ▼1.052.08 ▲0.2841.72 ▲2.03
Dashboard /wp-admin2,206 ▲214.84 ▼0.05110.10 ▲2.9141.35 ▼0.68
Posts /wp-admin/edit.php2,089 ▼01.97 ▼0.0835.26 ▲1.4232.94 ▲0.27
Add New Post /wp-admin/post-new.php1,549 ▲1518.24 ▼5.23610.14 ▼74.1771.02 ▲14.85
Media Library /wp-admin/upload.php1,388 ▲34.22 ▲0.0595.16 ▼8.6642.11 ▼3.04

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • 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
The smoke test was a success, however most plugin functionality was not tested

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
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-russian-quicktags/wp-russian-quicktags.php:23

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 on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Screenshots: These screenshots require images: #1 (Стандартный вид панели плагина.), #2 (Панель в шаблоне Twenty Eleven.), #3 (Вывод ссылки "Цитировать".)
Please take inspiration from this readme.txt

wp-russian-quicktags/wp-russian-quicktags.php 92% from 13 tests

The main PHP file in "WP Russian Quicktags" ver. 1.04 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 447 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin378 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript12322285
CSS13056
PHP14937

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions4
▷ Named functions4100.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
There were not PNG files found in your plugin