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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.26ms] Passed 4 tests
This is a short check of server-side resources used by Be-online
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 47.18 ▲7.82 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.71 ▲1.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.88 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.08 ▲3.79 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.61 ▼3.82 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Be-online
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.07 ▼0.58 | 1.71 ▲0.05 | 43.76 ▲2.57 |
Dashboard /wp-admin | 2,211 ▲31 | 5.64 ▼0.02 | 88.18 ▲1.08 | 44.15 ▲4.88 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.02 ▲0.07 | 36.73 ▲0.70 | 33.52 ▼4.18 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 18.24 ▼4.71 | 647.39 ▲29.24 | 69.21 ▲12.41 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.19 ▼0.03 | 97.51 ▼2.19 | 41.63 ▼2.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% 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 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
Please fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/beononline/beonline.php
- > /wp-content/plugins/beononline/include/main-class.php
- > /wp-content/plugins/beononline/include/beonlinefixindexing.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/beononline/include/beonlinefixindexing.php:6
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 69% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Requires php: Version not formatted correctly
- Tags: No tags were detected
- Donate link: Invalid url: "PayPal nevsak9@gmail.com"
- Contributors: No tags were detected
- Contributors: The plugin contributors field is not present
beononline/beonline.php 85% from 13 tests
"Be-online" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("beononline.php" instead of "beonline.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin115 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 49 | 49 | 59 |
JavaScript | 1 | 13 | 35 | 56 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.37MB with 0.24MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner.png | 191.81KB | 66.42KB | ▼ 65.37% |
assets/baner.png | 191.81KB | 66.42KB | ▼ 65.37% |