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.17MB] [CPU: ▼6.79ms] Passed 4 tests
This is a short check of server-side resources used by Focus SiteCall Pro
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 34.68 ▼4.82 |
Dashboard /wp-admin | 3.53 ▲0.22 | 44.40 ▼3.61 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.85 ▲2.62 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 79.07 ▼20.15 |
Media Library /wp-admin/upload.php | 3.39 ▲0.15 | 35.58 ▲1.41 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Focus SiteCall Pro
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.67 ▼1.08 | 1.65 ▼0.09 | 36.93 ▼3.66 |
Dashboard /wp-admin | 2,262 ▲74 | 5.83 ▼0.18 | 110.54 ▲3.34 | 78.83 ▲33.84 |
Posts /wp-admin/edit.php | 2,148 ▲59 | 2.03 ▲0.05 | 35.76 ▲0.08 | 33.46 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,569 ▲31 | 23.14 ▼0.17 | 710.54 ▼5.50 | 49.18 ▼11.85 |
Media Library /wp-admin/upload.php | 1,447 ▲65 | 4.22 ▲0.03 | 96.68 ▼4.34 | 78.81 ▲30.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > 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-pro/class.focussitecall-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-pro/class.focussitecall-templates-sitecalls-list-table.php on line 7
- > 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-pro/class.focussitecall-templates-sitecalls-list-table.php on line 7
- > 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-pro/class.focussitecall-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-pro/class.focussitecall-templates-sitecalls-list-table.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/focus-sitecall-pro/views/install_instructions/instruction.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/focus-sitecall-pro/class.fucussitecall-add-widget.php:142
- > 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-pro/class.focussitecall-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-pro/class.focussitecall-templates-sitecalls-list-table.php on line 7
- > 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-pro/class.focussitecall-templates-sitecalls-list-table.php on line 7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There are too many tags (19 tag instead of maximum 10)
focus-sitecall-pro/focussitecall.php 92% from 13 tests
The principal PHP file in "Focus SiteCall Pro" v. 1.1.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("focus-sitecall-pro.php" instead of "focussitecall.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
Success! There were no dangerous files found in this plugin979 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 229 | 9 | 801 |
PO File | 1 | 39 | 44 | 103 |
SVG | 1 | 1 | 1 | 70 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 21 | 31.82% |
▷ Public methods | 59 | 89.39% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 10.61% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 19 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 19 | 100.00% |
▷ Public constants | 19 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.60MB with 0.40MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/install_instruction/en/menu.png | 190.47KB | 57.63KB | ▼ 69.74% |
images/install_instruction/pl/menu.png | 208.25KB | 65.46KB | ▼ 68.57% |
images/install_instruction/pl/domain.png | 114.99KB | 41.49KB | ▼ 63.92% |
images/install_instruction/en/domain.png | 103.42KB | 37.30KB | ▼ 63.93% |