Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.20ms] Passed 4 tests
An overview of server-side resources used by Faust.js
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 35.66 ▼8.74 |
Dashboard /wp-admin | 3.36 ▲0.01 | 43.47 ▼19.91 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 43.27 ▼7.04 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 91.38 ▼1.10 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.19 ▲0.69 |
Faust /wp-admin/options-general.php?page=faustwp-settings | 3.31 | 31.42 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
faustwp_settings |
theysaidso_admin_options |
widget_theysaidso_widget |
faustwp_current_version |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Faust.js
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 13.97 ▼0.31 | 1.58 ▼0.50 | 69.25 ▲23.36 |
Dashboard /wp-admin | 2,199 ▲19 | 5.58 ▼0.08 | 82.40 ▼15.71 | 36.66 ▼5.80 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▼0.07 | 37.67 ▲0.58 | 35.67 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.29 ▲0.24 | 663.12 ▼26.96 | 59.28 ▲1.88 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.16 ▼0.05 | 97.55 ▼8.90 | 41.14 ▼5.26 |
Faust /wp-admin/options-general.php?page=faustwp-settings | 1,063 | 1.85 | 27.09 | 53.80 |
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: 8 options
- widget_theysaidso_widget
- faustwp_current_version
- db_upgraded
- widget_recent-posts
- faustwp_settings
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function WPE\\FaustWP\\Detect_Conflicts\\add_action() in wp-content/plugins/faustwp/includes/detect-conflicts/callbacks.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/faustwp/includes/settings/views/headless-settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function WPE\\FaustWP\\Updates\\add_action() in wp-content/plugins/faustwp/includes/updates/upgrade-database.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 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
5 plugin tags: composable-architecture, faustjs, headless, faust, decoupled
faustwp/faustwp.php 92% from 13 tests
The primary PHP file in "Faust.js" version 1.1.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,297 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 423 | 1,155 | 1,834 |
CSS | 1 | 44 | 21 | 200 |
Markdown | 1 | 116 | 0 | 148 |
JavaScript | 2 | 18 | 20 | 99 |
SVG | 2 | 0 | 0 | 16 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 14 | |
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 | 118 | |
▷ Named functions | 113 | 95.76% |
▷ Anonymous functions | 5 | 4.24% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 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
PNG images were not found in this plugin