Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/wp-missing-functions/asset/required/functions/tab3-fun.php+175
Undefined index: wmf_feeds_to_header
Server metrics [RAM: ▼1.96MB] [CPU: ▼47.05ms] Passed 4 tests
An overview of server-side resources used by WP Missing Functions Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.43 ▼31.23 |
Dashboard /wp-admin | 2.05 ▼1.25 | 6.51 ▼38.23 |
Posts /wp-admin/edit.php | 2.05 ▼1.30 | 4.83 ▼38.47 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.83 | 5.61 ▼80.26 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.62 ▼27.78 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 10 new options
New WordPress options |
---|
sef_options |
wop_options |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
wmf_options |
cop_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Missing Functions Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.21 ▼1.40 | 1.67 ▼0.10 | 38.50 ▼2.40 |
Dashboard /wp-admin | 2,222 ▲31 | 5.78 ▲0.69 | 99.77 ▼2.31 | 38.25 ▼6.87 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.06 ▲0.07 | 36.41 ▲0.01 | 33.06 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,527 ▲8 | 17.58 ▼5.44 | 660.78 ▼9.77 | 54.74 ▲0.82 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.37 ▲0.21 | 97.29 ▼8.74 | 39.99 ▼4.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wp-missing-functions/asset/required/functions/tab3-fun.php+175
Undefined index: wmf_feeds_to_header
- Zombie WordPress options were found after uninstall: 10 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- cop_options
- widget_recent-posts
- widget_theysaidso_widget
- wop_options
- wmf_options
- db_upgraded
- sef_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-missing-functions/asset/js/selectors.php
- > /wp-content/plugins/wp-missing-functions/asset/required/rsa.php
- 24× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-missing-functions/asset/required/tab2.php:6
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/wp-missing-functions/asset/required/functions/tab2-fun.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-missing-functions/asset/required/functions/tab4-fun.php on line 4
- > PHP Warning
require_once(ABSPATHwp-content/plugins/wp-missing-functions/asset/js/selectors.php): failed to open stream: No such file or directory in wp-content/plugins/wp-missing-functions/asset/required/tab1.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-missing-functions/asset/required/functions/tab2-fun.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-missing-functions/asset/required/tab3.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-missing-functions/asset/required/tab4.php:6
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/wp-missing-functions/asset/required/functions.php on line 2
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/wp-missing-functions/asset/required/functions/tab1-fun.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-missing-functions/asset/required/functions/tab4-fun.php on line 4
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (WP MIssing Functions Plugin settings), #2 (WP MIssing Functions Plugin settings 2), #3 (WP MIssing Functions Plugin settings 3)
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-missing-functions/wp-missing-functions.php 92% from 13 tests
The entry point to "WP Missing Functions Plugin" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,279 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 266 | 78 | 1,152 |
CSS | 1 | 22 | 0 | 127 |
PHP code Passed 2 tests
A short review 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.50 |
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 | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/images/wpmf-pro.png | 3.90KB | 3.96KB | 0.00% |