84% get-terms-name-like

Code Review | Get terms name__like

WordPress plugin Get terms name__like scored84%from 54 tests.

About plugin

  • Plugin page: get-terms-name-like
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-3.7
  • WordPress version: 6.3.1
  • First release: Nov 9, 2013
  • Latest release: Nov 9, 2013
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: keesiemeijer (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,187 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by Get terms name__like
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.13 ▼3.72
Dashboard /wp-admin3.31 ▼0.0446.95 ▼13.56
Posts /wp-admin/edit.php3.36 ▲0.0047.09 ▼1.84
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.20 ▼14.80
Media Library /wp-admin/upload.php3.23 ▲0.0035.31 ▲3.24

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Get terms name__like
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.23 ▼0.181.66 ▲0.0543.82 ▲1.74
Dashboard /wp-admin2,195 ▲205.61 ▲0.0094.37 ▼3.6741.63 ▲1.55
Posts /wp-admin/edit.php2,097 ▼31.97 ▼0.0634.79 ▼0.1333.45 ▼5.97
Add New Post /wp-admin/post-new.php1,526 ▼023.16 ▼0.28680.38 ▼33.9756.91 ▲5.05
Media Library /wp-admin/upload.php1,397 ▼34.21 ▲0.00102.89 ▼4.8246.03 ▲1.83

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/get-terms-name-like/get-terms-name-like.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, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
1 plugin tags: name__like

get-terms-name-like/get-terms-name-like.php 92% from 13 tests

The main file in "Get terms name__like" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 147 characters long)

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
Everything looks great! No dangerous files found in this plugin15 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1101815

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.57
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin