Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/webo-facto-connector/WeboFacto/Utils.php+24
Undefined index: plugin
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.64ms] Passed 4 tests
Analyzing server-side resources used by Webo-facto
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.73 ▼0.68 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.67 ▼16.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.66 ▼4.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.93 ▼16.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.14 ▲2.86 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Webo-facto
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.03 | 4.97 ▲3.28 | 42.95 ▲6.62 |
Dashboard /wp-admin | 2,206 ▲15 | 5.79 ▲0.91 | 98.04 ▼4.77 | 39.44 ▼2.59 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.13 ▲0.11 | 34.78 ▼2.05 | 35.08 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,519 ▲5 | 23.08 ▲5.58 | 668.69 ▲40.16 | 58.72 ▲9.22 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.25 ▼0.00 | 104.01 ▲4.36 | 46.35 ▲4.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/webo-facto-connector/webo-facto-connector.php:24
- > PHP Fatal error
Uncaught Error: Class 'SoapClient' not found in wp-content/plugins/webo-facto-connector/WeboFacto/Soap.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: medialibs, webo-facto, sso
webo-facto-connector/webo-facto-connector.php 92% from 13 tests
Analyzing the main PHP file in "Webo-facto" version 1.36
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 242 characters long)
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
Good job! No executable or dangerous file extensions detected400 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 77 | 317 | 400 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 2 | 5.00% |
▷ Public methods | 29 | 72.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 27.50% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.24MB with 0.18MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 242.97KB | 60.50KB | ▼ 75.10% |