Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.65ms] Passed 4 tests
A check of server-side resources used by Meta Box - FacetWP Integrator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.22 ▼6.07 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.70 ▲3.64 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.43 ▼7.31 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.47 ▼8.85 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.70 ▲3.72 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Meta Box - FacetWP Integrator: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.14 | 1.70 ▼0.05 | 43.33 ▲1.63 |
Dashboard /wp-admin | 2,200 ▲12 | 5.88 ▲1.00 | 101.15 ▼11.42 | 41.48 ▼0.00 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.02 | 35.26 ▼8.07 | 32.64 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.37 ▲0.20 | 687.92 ▲21.22 | 57.10 ▲2.28 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.27 ▲0.07 | 99.09 ▲0.24 | 44.01 ▲0.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
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)
Even though everything seems fine, this is not 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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'FacetWP_Facet' not found in wp-content/plugins/meta-box-facetwp-integrator/class-mb-relationships-facetwp.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/meta-box-facetwp-integrator/class-mb-facetwp-integrator.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add a description for screenshot #2 in meta-box-facetwp-integrator/assets to your readme.txt
meta-box-facetwp-integrator/meta-box-facetwp-integrator.php Passed 13 tests
The principal PHP file in "Meta Box - FacetWP Integrator" v. 1.1.3 is loaded by WordPress automatically on each request
47 characters long description:
Integrates Meta Box custom fields with FacetWP.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected206 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 36 | 114 | 206 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 5.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 66.67% |
▷ Protected methods | 3 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin