84% oomph-hidden-tags

Code Review | Oomph Hidden Tags

WordPress plugin Oomph Hidden Tags scored84%from 54 tests.

About plugin

  • Plugin page: oomph-hidden-tags
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.5
  • WordPress version: 6.3.1
  • First release: Feb 24, 2014
  • Latest release: Apr 5, 2016
  • Number of updates: 8
  • Update frequency: every 96.5 days
  • Top authors: bendoh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

800+ active /12,782 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

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

Analyzing server-side resources used by Oomph Hidden Tags
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.49 ▼3.27
Dashboard /wp-admin3.32 ▲0.0248.45 ▼2.79
Posts /wp-admin/edit.php3.37 ▲0.0153.27 ▼1.80
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.42 ▼16.53
Media Library /wp-admin/upload.php3.24 ▲0.0139.40 ▲4.90

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Oomph Hidden Tags
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.76 ▼0.804.36 ▲2.1443.88 ▲5.25
Dashboard /wp-admin2,203 ▲265.84 ▲0.93116.67 ▲9.9843.06 ▼9.49
Posts /wp-admin/edit.php2,086 ▼62.04 ▼0.0236.71 ▼1.9233.40 ▼6.54
Add New Post /wp-admin/post-new.php1,533 ▼123.06 ▼0.18682.85 ▲50.4052.31 ▼10.99
Media Library /wp-admin/upload.php1,385 ▼64.14 ▼0.11111.60 ▲10.1946.76 ▲4.41

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/oomph-hidden-tags/oomph-hidden-tags.php:48

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Contributors: The plugin contributors field is not present
You can take inspiration from this readme.txt

oomph-hidden-tags/oomph-hidden-tags.php Passed 13 tests

The main PHP file in "Oomph Hidden Tags" ver. 0.2 adds more information about the plugin and also serves as the entry point for this plugin
30 characters long description:
Hide tags from front-end users

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 plugin143 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14569143

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity25.00
▷ Minimum class complexity25.00
▷ Maximum class complexity25.00
Average method complexity3.40
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods110.00%
▷ Public methods990.00%
▷ Protected methods00.00%
▷ Private methods110.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin