74% mowster-tags

Code Review | tags.mowster

WordPress plugin tags.mowster scored74%from 54 tests.

About plugin

  • Plugin page: mowster-tags
  • Plugin version: 1.71
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.2.2
  • WordPress version: 6.3.1
  • First release: Sep 9, 2010
  • Latest release: May 9, 2015
  • Number of updates: 122
  • Update frequency: every 14.5 days
  • Top authors: PedroDM (72.95%)mowster (27.87%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /4,798 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.02MB] [CPU: ▼1.87ms] Passed 4 tests

Server-side resources used by tags.mowster
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.89 ▲1.13
Dashboard /wp-admin3.32 ▲0.0242.97 ▼2.43
Posts /wp-admin/edit.php3.37 ▲0.0143.29 ▼3.70
Add New Post /wp-admin/post-new.php5.92 ▲0.0484.29 ▼2.48
Media Library /wp-admin/upload.php3.24 ▲0.0137.12 ▲1.42

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for tags.mowster
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.40 ▼0.181.67 ▼0.0343.17 ▼0.44
Dashboard /wp-admin2,209 ▲215.91 ▲1.01107.40 ▲3.4239.17 ▼4.84
Posts /wp-admin/edit.php2,086 ▼31.97 ▼0.0433.57 ▼2.3535.04 ▼5.86
Add New Post /wp-admin/post-new.php1,521 ▼2117.39 ▼0.88628.55 ▲15.3056.17 ▲3.19
Media Library /wp-admin/upload.php1,388 ▲34.25 ▲0.0697.05 ▼12.3142.47 ▼5.39

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Warning in wp-includes/functions.php+6691
    file_get_contents(wp-content/plugins/mowster-tags/index.php): failed to open stream: No such file or directory
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The following issues need your attention
  • 4× PHP files output text when accessed directly:
    • > /wp-content/plugins/mowster-tags/ajax/ajax.php
    • > /wp-content/plugins/mowster-tags/index.php
    • > /wp-content/plugins/mowster-tags/functions.php
    • > /wp-content/plugins/mowster-tags/update.php

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

The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: tagging, post, suggest, tag, related...

mowster-tags/index.php 92% from 13 tests

The entry point to "tags.mowster" version 1.71 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("mowster-tags.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin472 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP412352295
PO File21836112
JavaScript123064
CSS1001

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.39
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%
Functions19
▷ Named functions19100.00%
▷ Anonymous functions00.00%
Constants11
▷ Global constants11100.00%
▷ Class constants00.00%
▷ Public constants00.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