Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.58ms] Passed 4 tests
Analyzing server-side resources used by Fibre
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.62 ▼0.24 |
Dashboard /wp-admin | 3.42 ▲0.11 | 48.08 ▲0.36 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 45.95 ▼0.31 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 83.61 ▼10.13 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.96 ▲2.60 |
Fibre /wp-admin/options-general.php?page=fibre | 3.30 | 32.75 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fibre
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.73 ▲0.05 | 1.69 ▼0.45 | 43.11 ▼4.15 |
Dashboard /wp-admin | 2,213 ▲28 | 5.79 ▲0.69 | 94.95 ▼10.16 | 38.33 ▼6.57 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.01 | 33.70 ▼2.39 | 36.46 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 23.12 ▼0.31 | 627.29 ▼39.33 | 62.19 ▼7.22 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.19 ▼0.02 | 94.74 ▼5.06 | 40.22 ▼8.22 |
Fibre /wp-admin/options-general.php?page=fibre | 802 | 2.05 | 24.13 | 26.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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 take a closer look at the following
- 25× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/fibre/includes/view/admin-t-c.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Fibre\\Client\\Integration\\IIntegration' not found in wp-content/plugins/fibre/includes/integration/plugin/limitloginattempts.php:8
- > PHP Fatal error
Uncaught Error: Class 'Fibre\\Client\\Provider\\Provider' not found in wp-content/plugins/fibre/includes/provider/sites.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Fibre\\Client\\Integration\\IIntegration' not found in wp-content/plugins/fibre/includes/integration/plugin/wordfence.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/fibre/includes/view/admin-data.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/fibre/includes/view/admin.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Fibre\\Client\\Integration\\IIntegration' not found in wp-content/plugins/fibre/includes/integration/plugin/wpcontactform7.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/fibre/includes/view/admin-generate-token.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/fibre/includes/view/admin-details.php:3
- > PHP Fatal error
Uncaught Error: Class 'Fibre\\Client\\Provider\\Provider' not found in wp-content/plugins/fibre/includes/provider/themes.php:5
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: fibre, manage
fibre/fibre.php Passed 13 tests
"Fibre" version 1.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
35 characters long description:
Fibre Client for the Fibre Platform
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,082 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 243 | 164 | 1,049 |
SVG | 1 | 0 | 1 | 20 |
CSS | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 5.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 71 | 97.26% |
▷ Public methods | 48 | 65.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 25 | 34.25% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
3 compressed PNG files occupy 0.05MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 16.22KB | 17.33KB | 0.00% |
assets/screenshot-1.png | 15.77KB | 16.86KB | 0.00% |
assets/screenshot-2.png | 19.98KB | 21.49KB | 0.00% |