89% fast-tagcredit

Code Review | Fast Tag Credit

WordPress plugin Fast Tag Credit scored89%from 54 tests.

About plugin

  • Plugin page: fast-tagcredit
  • Plugin version: 1.1.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Dec 1, 2019
  • Latest release: Aug 10, 2023
  • Number of updates: 9
  • Update frequency: every 150.4 days
  • Top authors: fastflow (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /651 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.03MB] [CPU: ▼10.43ms] Passed 4 tests

Analyzing server-side resources used by Fast Tag Credit
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0534.20 ▼3.27
Dashboard /wp-admin3.35 ▲0.0143.18 ▼16.69
Posts /wp-admin/edit.php3.40 ▲0.0449.18 ▼1.42
Add New Post /wp-admin/post-new.php5.93 ▲0.0491.82 ▼15.77
Media Library /wp-admin/upload.php3.27 ▲0.0436.30 ▼5.99

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Fast Tag Credit
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.40 ▲0.031.69 ▼0.1739.45 ▼3.82
Dashboard /wp-admin2,206 ▲185.91 ▲1.00108.37 ▲9.0142.59 ▼5.92
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0340.60 ▼3.9436.14 ▼0.02
Add New Post /wp-admin/post-new.php1,514 ▼517.53 ▼5.76596.93 ▼58.6549.47 ▼15.85
Media Library /wp-admin/upload.php1,391 ▲64.19 ▼0.0399.60 ▼2.6143.86 ▲1.46

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Set the Fast Tag with the amount of credit you wish to add or remove), #2 (Add tags into the Fast Flow system), #3 (Update your users tags manually), #4 (Use one of our various CRM integrations for automated user tagging)
You can look at the official readme.txt

fast-tagcredit/fast-tag-credit.php 85% from 13 tests

The main file in "Fast Tag Credit" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Main file name: Name the main plugin file the same as the plugin slug ("fast-tagcredit.php" instead of "fast-tag-credit.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin157 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP23010157

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.51
Average class complexity13.00
▷ Minimum class complexity2.00
▷ Maximum class complexity24.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.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

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin