Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.00ms] Passed 4 tests
A check of server-side resources used by Focus SiteCall Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.77 ▼1.66 |
Dashboard /wp-admin | 3.35 ▲0.00 | 43.99 ▼15.89 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.69 ▲5.30 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.22 ▼5.65 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.54 ▼0.78 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Focus SiteCall Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲97 | 13.30 ▼1.38 | 1.64 ▼0.30 | 40.01 ▼0.63 |
Dashboard /wp-admin | 2,277 ▲89 | 5.85 ▲0.71 | 105.00 ▲3.70 | 70.20 ▲27.05 |
Posts /wp-admin/edit.php | 2,157 ▲65 | 2.03 ▲0.04 | 37.21 ▲1.72 | 33.08 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,594 ▲64 | 23.21 ▲0.05 | 755.10 ▲62.77 | 53.65 ▲0.89 |
Media Library /wp-admin/upload.php | 1,456 ▲65 | 4.21 ▲0.00 | 104.21 ▼1.44 | 44.14 ▼5.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-templates-sitecalls-list-table.php on line 7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-sitecalls-list-table.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-sitecall-agreements-list-table.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-templates-sitecalls-list-table.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'FocusSitecallLite_Sitecalls_Model' not found in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-sitecall-agreements-model.php:4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-sitecalls-list-table.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-sitecall-agreements-list-table.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-templates-sitecalls-list-table.php on line 7
- > PHP Warning
require_once(ABSPATHwp-load.php): failed to open stream: No such file or directory in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-provider.php on line 5
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/focus-sitecall-lite/class.focussitecalllite-templates-sitecalls-list-table.php on line 7
- > PHP Warning
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: You are using too many tags: 16 tag instead of maximum 10
focus-sitecall-lite/focussitecalllite.php 92% from 13 tests
The main PHP file in "Focus SiteCall Lite" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("focus-sitecall-lite.php" instead of "focussitecalllite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin4,687 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 2,481 |
PHP | 17 | 443 | 45 | 1,718 |
PO File | 1 | 106 | 122 | 253 |
CSS | 3 | 21 | 4 | 88 |
SVG | 1 | 1 | 1 | 83 |
JavaScript | 4 | 3 | 79 | 64 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 1 | 5.88% |
▷ Concrete classes | 16 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 32 | 32.32% |
▷ Public methods | 88 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 11.11% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 23 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 23 | 100.00% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/LogoSiteCallLiteFullLogo.png | 16.62KB | 5.73KB | ▼ 65.51% |