10% mundoon-simple-taxonomy-filter-checkbox

Code Review | Mundoon Taxonomy Filter Checkbox

WordPress plugin Mundoon Taxonomy Filter Checkbox scored 10% from 54 tests.

About plugin

  • Plugin page: mundoon-simple-ta...
  • Plugin version: 0.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5+
  • WordPress version: 5.8.1
  • First release: May 4, 2016
  • Latest release: May 11, 2016
  • Number of updates: 18
  • Update frequency: every 0.4 days
  • Top authors: raphaelnikson (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,148 total downloads

Benchmarks

Plugin footprint 75% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
  • The plugin did not install without errors
    • > Parse error in wp-content/plugins/mundoon-simple-taxonomy-filter-checkbox/options.php+79
    syntax error, unexpected 'endif' (T_ENDIF)

Server metrics [RAM: ▼0.00MB] [CPU: ▼140.51ms] Passed 4 tests

An overview of server-side resources used by Mundoon Taxonomy Filter Checkbox
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1234.76 ▲13.74
Dashboard /wp-admin3.06 ▲0.0053.67 ▲6.77
Posts /wp-admin/edit.php3.11 ▲0.0042.23 ▼3.67
Add New Post /wp-admin/post-new.php5.42 ▼0.0290.72 ▼570.62
Media Library /wp-admin/upload.php3.01 ▲0.0033.08 ▲5.50

Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] 67% from 3 tests

Input-output and database impact of this plugin
Just a few items left to fix
  • Illegal file modification detected: 1 file (0.00KB) outside of "wp-content/plugins/mundoon-simple-taxonomy-filter-checkbox/" and "wp-content/uploads/"
    • (new file) "wp-content/plugins/mundoon-simple-taxonomy-filter-checkbox/Captura de Tela 2016-05-04 a\314\200s 01.19.51.png"
Filesystem: 9 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Mundoon Taxonomy Filter Checkbox
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8315.86 ▲0.308.56 ▼0.8248.36 ▲0.60
Dashboard /wp-admin2,970 ▲365.93 ▼0.08153.31 ▲7.4498.41 ▼15.53
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0159.61 ▼8.6098.18 ▲6.76
Add New Post /wp-admin/post-new.php1,676 ▼1718.83 ▼0.07375.13 ▲2.55101.61 ▼8.42
Media Library /wp-admin/upload.php1,810 ▼05.03 ▲0.02148.34 ▲2.59114.66 ▼3.62

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Parse error
      syntax error, unexpected 'endif' (T_ENDIF) in wp-content/plugins/mundoon-simple-taxonomy-filter-checkbox/options.php on line 79
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mundoon-simple-taxonomy-filter-checkbox/plugin.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mundoon-simple-taxonomy-filter-checkbox/functions.php:49

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 81% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Contributors: Plugin contributors not specified
  • Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Screenshots: Screenshot #1 (screenshot-1.png Select Taxonomies for post type.) image required
Please take inspiration from this readme.txt

mundoon-simple-taxonomy-filter-checkbox/plugin.php 85% from 13 tests

The main PHP file in "Mundoon Taxonomy Filter Checkbox" ver. 0.0.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Main file name: Name the main plugin file the same as the plugin slug ("mundoon-simple-taxonomy-filter-checkbox.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin206 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP3111151
CSS111028
JavaScript10027

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
4 PNG files occupy 0.26MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
banner-772x250.png72.84KB6.02KB▼ 91.74%
Captura de Tela 2016-05-04 às 01.19.51.png80.18KB20.65KB▼ 74.25%
banner- 772x250.png9.60KB4.58KB▼ 52.23%
screenshot-1.png103.90KB25.25KB▼ 75.70%