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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.76 ▲13.74 |
Dashboard /wp-admin | 3.06 ▲0.00 | 53.67 ▲6.77 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 42.23 ▼3.67 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 90.72 ▼570.62 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 33.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.86 ▲0.30 | 8.56 ▼0.82 | 48.36 ▲0.60 |
Dashboard /wp-admin | 2,970 ▲36 | 5.93 ▼0.08 | 153.31 ▲7.44 | 98.41 ▼15.53 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.01 | 59.61 ▼8.60 | 98.18 ▲6.76 |
Add New Post /wp-admin/post-new.php | 1,676 ▼17 | 18.83 ▼0.07 | 375.13 ▲2.55 | 101.61 ▼8.42 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.03 ▲0.02 | 148.34 ▲2.59 | 114.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
- > PHP Parse error
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
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 1 | 11 | 151 |
CSS | 1 | 11 | 0 | 28 |
JavaScript | 1 | 0 | 0 | 27 |
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 code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 72.84KB | 6.02KB | ▼ 91.74% |
Captura de Tela 2016-05-04 às 01.19.51.png | 80.18KB | 20.65KB | ▼ 74.25% |
banner- 772x250.png | 9.60KB | 4.58KB | ▼ 52.23% |
screenshot-1.png | 103.90KB | 25.25KB | ▼ 75.70% |