Benchmarks
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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼296.89ms] Passed 4 tests
An overview of server-side resources used by Media Recode Modules
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 54.21 ▲3.27 |
Dashboard /wp-admin | 3.41 ▲0.00 | 31.61 ▼1.45 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 35.28 ▼1.33 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 92.66 ▼1,183.07 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 22.83 ▼1.72 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Media Recode Modules
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 15.88 ▲0.27 | 5.97 ▲0.25 | 3.07 ▲0.04 |
Dashboard /wp-admin | 2,895 ▲34 | 6.13 ▼0.03 | 116.45 ▼19.09 | 155.12 ▼8.78 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.24 ▼0.01 | 61.04 ▼0.83 | 139.92 ▼6.46 |
Add New Post /wp-admin/post-new.php | 1,668 ▼84 | 18.13 ▼3.40 | 409.77 ▼38.67 | 150.86 ▼0.59 |
Media Library /wp-admin/upload.php | 1,695 ▼0 | 5.52 ▲0.02 | 133.15 ▼3.74 | 183.62 ▼3.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/media-recode-custom-modules/mr-multipoint-map/includes/frontend.css.php
- > /wp-content/plugins/media-recode-custom-modules/mr-multipoint-map/includes/frontend.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Creating default object from empty value in wp-content/plugins/media-recode-custom-modules/mr-multipoint-map/includes/frontend.js.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderLoop' not found in wp-content/plugins/media-recode-custom-modules/mr-multipoint-map/includes/frontend.js.php:7
- > PHP Notice
Trying to get property 'use_category_filter' of non-object in wp-content/plugins/media-recode-custom-modules/mr-multipoint-map/includes/frontend.php on line 4
- > PHP Notice
Trying to get property 'map_api_key' of non-object in wp-content/plugins/media-recode-custom-modules/mr-multipoint-map/includes/frontend.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/media-recode-custom-modules/enhancements/membership-requirement/membership-requirement-row.php:3
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/media-recode-custom-modules/mr-multipoint-map/mr-multipoint-map.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/media-recode-custom-modules/mr-builder-modules.php:12
- > PHP Notice
Undefined variable: settings in wp-content/plugins/media-recode-custom-modules/mr-multipoint-map/includes/frontend.php on line 15
- > PHP Notice
Undefined variable: settings in wp-content/plugins/media-recode-custom-modules/mr-multipoint-map/includes/frontend.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Contributors: The plugin contributors field is not present
media-recode-custom-modules/mr-builder-modules.php 92% from 13 tests
The primary PHP file in "Media Recode Modules" version 1.8.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("media-recode-custom-modules.php" instead of "mr-builder-modules.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin466 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 67 | 24 | 466 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin