84% insert-text-symbols

Code Review | Insert Text Symbols

WordPress plugin Insert Text Symbols scored84%from 54 tests.

About plugin

  • Plugin page: insert-text-symbols
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.1-5.9
  • WordPress version: 6.3.1
  • First release: Dec 13, 2019
  • Latest release: May 6, 2022
  • Number of updates: 7
  • Update frequency: every 125.0 days
  • Top authors: codingdude (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /874 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.94ms] Passed 4 tests

Analyzing server-side resources used by Insert Text Symbols
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0046.51 ▲5.81
Dashboard /wp-admin3.31 ▲0.0149.93 ▼6.71
Posts /wp-admin/edit.php3.37 ▲0.0049.62 ▼2.47
Add New Post /wp-admin/post-new.php5.90 ▲0.0186.73 ▼13.67
Media Library /wp-admin/upload.php3.24 ▲0.0038.92 ▲3.10

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Insert Text Symbols: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.39 ▲0.232.16 ▲0.5243.40 ▼3.05
Dashboard /wp-admin2,195 ▲215.52 ▼0.1395.84 ▲0.0942.02 ▲6.06
Posts /wp-admin/edit.php2,103 ▲31.99 ▲0.0333.99 ▼3.9438.21 ▲3.13
Add New Post /wp-admin/post-new.php1,532 ▲423.53 ▲0.49662.66 ▼28.9964.55 ▲10.26
Media Library /wp-admin/upload.php1,397 ▼34.23 ▲0.06111.36 ▲9.9047.39 ▲1.53

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

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
Everything seems fine, however this is by no means an exhaustive test

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
Almost there! Just fix the following items
  • 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/insert-text-symbols/functions.php:24

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 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
10 plugin tags: symbols, free, emojis, gutenberg, smiley...

insert-text-symbols/functions.php 92% from 13 tests

The primary PHP file in "Insert Text Symbols" version 1.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("insert-text-symbols.php" instead of "functions.php")

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 plugin1,133 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript21701,093
CSS13031
PHP15109

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin