94% mp-auto-more-tag

Code Review | MP Auto more tag

WordPress plugin MP Auto more tag scored 94% from 54 tests.

About plugin

  • Plugin page: mp-auto-more-tag
  • Plugin version: 0.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.2.2
  • WordPress version: 5.9.2
  • First release: Apr 21, 2015
  • Latest release: Jun 21, 2019
  • Number of updates: 5
  • Update frequency: every 304.4 days
  • Top authors: ramon fincken (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,363 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by MP Auto more tag
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0158.33 ▲1.96
Dashboard /wp-admin3.41 ▲0.0138.12 ▼13.23
Posts /wp-admin/edit.php3.65 ▲0.0143.43 ▼39.20
Add New Post /wp-admin/post-new.php6.89 ▼0.0899.95 ▼1,183.16
Media Library /wp-admin/upload.php3.30 ▲0.0125.27 ▼7.36

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by MP Auto more tag
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,781 ▲2715.65 ▼0.126.00 ▼0.232.25 ▼0.99
Dashboard /wp-admin2,881 ▲276.16 ▼0.03118.19 ▼34.38153.70 ▼21.84
Posts /wp-admin/edit.php2,670 ▼243.25 ▲0.0293.19 ▲30.91134.59 ▼1.02
Add New Post /wp-admin/post-new.php1,661 ▼9116.59 ▼5.39434.24 ▼28.01160.50 ▲5.01
Media Library /wp-admin/upload.php1,698 ▼05.53 ▼0.02153.80 ▲9.02187.88 ▲1.13

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mp-auto-more-tag/mp_auto_more.php:11

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)
No browser errors were detected


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: tag, readmore, read, more, auto

mp-auto-more-tag/mp_auto_more.php 92% from 13 tests

Analyzing the main PHP file in "MP Auto more tag" version 0.0.1
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("mp-auto-more-tag.php" instead of "mp_auto_more.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin17 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.44
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ 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
No PNG images were found in this plugin