Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.55ms] Passed 4 tests
Analyzing server-side resources used by Frontend Dashboard Social Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.45 ▼1.48 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.76 ▼7.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.04 ▲1.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.18 ▲0.53 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 35.49 ▲2.53 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Frontend Dashboard Social Chat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 14.47 ▼0.31 | 1.65 ▼0.16 | 40.59 ▼1.70 |
Dashboard /wp-admin | 2,221 ▲33 | 4.80 ▼1.05 | 103.47 ▼13.00 | 41.11 ▼3.02 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.03 ▲0.03 | 38.77 ▲1.63 | 36.25 ▲1.00 |
Add New Post /wp-admin/post-new.php | 1,545 ▲25 | 23.20 ▲0.05 | 647.37 ▲41.51 | 51.37 ▼1.29 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.26 ▲0.02 | 100.70 ▲5.48 | 43.12 ▲0.41 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frontend-dashboard-social-chat/admin/layouts/FEDSCHATWhatsappLayout.php:15
- > PHP Fatal error
require_once(): Failed opening required 'BC_FED_SCHAT_PLUGIN_DIR/admin/settings/FEDSCHATMenu.php' (include_path='.:/usr/share/php') in wp-content/plugins/frontend-dashboard-social-chat/fed_schat_autoload.php on line 7
- > PHP Warning
require_once(BC_FED_SCHAT_PLUGIN_DIR/admin/settings/FEDSCHATMenu.php): failed to open stream: No such file or directory in wp-content/plugins/frontend-dashboard-social-chat/fed_schat_autoload.php on line 7
- > PHP Warning
Use of undefined constant BC_FED_SCHAT_PLUGIN_DIR - assumed 'BC_FED_SCHAT_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/frontend-dashboard-social-chat/fed_schat_autoload.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: frontend dashboard, dashboard, paypal, payment
frontend-dashboard-social-chat/frontend-dashboard-social-chat.php 85% from 13 tests
The primary PHP file in "Frontend Dashboard Social Chat" version 1.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
No dangerous file extensions were detected1,110 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 69 | 92 | 839 |
CSS | 1 | 40 | 0 | 221 |
JavaScript | 1 | 8 | 0 | 50 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.62MB with 0.45MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/screenshot-4.png | 195.55KB | 50.83KB | ▼ 74.01% |
screenshots/screenshot-5.png | 166.92KB | 39.63KB | ▼ 76.26% |
screenshots/screenshot-2.png | 15.83KB | 4.69KB | ▼ 70.34% |
screenshots/screenshot-1.png | 111.02KB | 34.07KB | ▼ 69.31% |
screenshots/screenshot-3.png | 148.75KB | 37.25KB | ▼ 74.96% |