Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.72MB] [CPU: ▼46.02ms] Passed 4 tests
Analyzing server-side resources used by FacetWP Manipulator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.24 ▼1.22 | 7.31 ▼30.88 |
Dashboard /wp-admin | 2.30 ▼1.01 | 9.73 ▼37.60 |
Posts /wp-admin/edit.php | 2.30 ▼1.05 | 10.38 ▼34.56 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.59 | 10.08 ▼81.02 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 10.55 ▼23.09 |
FWP Manipulator /wp-admin/options-general.php?page=facetwp-manipulator | 2.30 | 8.91 |
Server storage [IO: ▲2.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 116 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for FacetWP Manipulator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.28 ▼1.09 | 1.64 ▼0.14 | 44.36 ▲2.20 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▲0.98 | 107.19 ▲5.01 | 38.10 ▼4.52 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 35.82 ▼1.02 | 33.98 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.28 ▲0.10 | 664.87 ▼8.60 | 51.30 ▼2.57 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.08 | 102.63 ▲0.37 | 47.22 ▲2.02 |
FWP Manipulator /wp-admin/options-general.php?page=facetwp-manipulator | 1,075 | 2.57 | 40.98 | 41.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui.php+117
Creating default object from empty value
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=facetwp-manipulator
- > Warning in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui.php+117
Creating default object from empty value
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/facetwp-manipulator/includes/hook-samples.php
- > /wp-content/plugins/facetwp-manipulator/assets/svg/loading.php
- 28× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'fwpmanip\\ui\\panel' not found in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui/section.php:19
- > PHP Notice
Undefined index: base_color in wp-content/plugins/facetwp-manipulator/assets/svg/loading.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'fwpmanip\\ui\\control' not found in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui/control/handlebars.php:18
- > PHP Fatal error
Uncaught Error: Class 'fwpmanip\\data\\data' not found in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui/panel.php:19
- > PHP Fatal error
Uncaught Error: Class 'fwpmanip\\ui\\panel' not found in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui/box.php:20
- > PHP Fatal error
Uncaught Error: Class 'fwpmanip\\ui\\control\\radio' not found in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui/control/checkbox.php:18
- > PHP Fatal error
Uncaught Error: Class 'fwpmanip\\ui\\control\\textarea' not found in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui/control/codemirror.php:18
- > PHP Fatal error
Uncaught Error: Class 'fwpmanip\\ui\\control' not found in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui/control/separator.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/facetwp-manipulator/includes/admin-template.php:7
- > PHP Fatal error
Uncaught Error: Class 'fwpmanip\\ui\\control' not found in wp-content/plugins/facetwp-manipulator/classes/fwpmanip/ui/control/template.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=facetwp-manipulator
- > Network (severe)
wp-content/plugins/facetwp-manipulator/assets/css/core.min.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: facetwp hooks, facetwp filters, facetwp, facetwp actions
facetwp-manipulator/facetwp-manipulator.php Passed 13 tests
The main file in "FacetWP Manipulator" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
67 characters long description:
Manipulate FacetWP easily by applying custom code to FacetWP Hooks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected21,940 lines of code in 110 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 39 | 2,177 | 1,698 | 13,586 |
CSS | 30 | 138 | 35 | 4,532 |
PHP | 37 | 667 | 2,263 | 2,151 |
HTML | 3 | 135 | 0 | 1,056 |
SVG | 1 | 0 | 0 | 615 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 2 | 7.41% |
▷ Concrete classes | 25 | 92.59% |
▷ Final classes | 0 | 0.00% |
Methods | 176 | |
▷ Static methods | 5 | 2.84% |
▷ Public methods | 151 | 85.80% |
▷ Protected methods | 14 | 7.95% |
▷ Private methods | 11 | 6.25% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/fwp-manipulator.png | 47.95KB | 27.88KB | ▼ 41.86% |