Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/callmeback/Google/Utils.php+67
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.73MB] [CPU: ▼50.81ms] Passed 4 tests
Analyzing server-side resources used by CallMeBack
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.25 ▼1.21 | 5.90 ▼32.79 |
Dashboard /wp-admin | 2.27 ▼1.03 | 6.74 ▼40.87 |
Posts /wp-admin/edit.php | 2.27 ▼1.08 | 8.53 ▼39.03 |
Add New Post /wp-admin/post-new.php | 2.27 ▼3.61 | 6.34 ▼90.56 |
Media Library /wp-admin/upload.php | 2.27 ▼0.96 | 7.45 ▼26.14 |
Server storage [IO: ▲3.80MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 105 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for CallMeBack
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲168 | 13.75 ▼0.60 | 5.97 ▲4.12 | 42.34 ▲0.96 |
Dashboard /wp-admin | 2,220 ▲32 | 5.00 ▼0.11 | 108.19 ▲5.51 | 67.29 ▲24.40 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.10 ▲0.04 | 33.46 ▼8.01 | 33.30 ▼6.06 |
Add New Post /wp-admin/post-new.php | 1,688 ▲146 | 22.24 ▲4.02 | 689.08 ▲73.60 | 51.01 ▼12.50 |
Media Library /wp-admin/upload.php | 1,405 ▲26 | 4.23 ▼0.01 | 101.96 ▼6.98 | 65.82 ▲23.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/callmeback/Google/Utils.php+67
Array and string offset access syntax with curly braces is deprecated
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 114× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'Google/Auth/Abstract.php' (include_path='.:/usr/share/php') in wp-content/plugins/callmeback/Google/Auth/Simple.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/callmeback/Google/Service/DoubleClickBidManager.php:32
- > PHP Fatal error
require_once(): Failed opening required 'Google/Exception.php' (include_path='.:/usr/share/php') in wp-content/plugins/callmeback/Google/IO/Exception.php on line 18
- > PHP Fatal error
require_once(): Failed opening required 'Google/Exception.php' (include_path='.:/usr/share/php') in wp-content/plugins/callmeback/Google/Cache/Exception.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/callmeback/Google/Service/Dns.php:32
- > PHP Warning
require_once(Google/Client.php): failed to open stream: No such file or directory in wp-content/plugins/callmeback/Google/Http/Batch.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/callmeback/Google/Service/Fusiontables.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/callmeback/Google/Service/Content.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/callmeback/Google/Service/PlusDomains.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/callmeback/Google/Service/Genomics.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== callmeback ===
) - Contributors: The plugin contributors field is not present
callmeback/callmeback.php Passed 13 tests
The entry point to "CallMeBack" version 0.3 is a PHP file that has certain tags in its header comment area
60 characters long description:
A Client Callback Plugin, connected to your Google Calendar
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin111,827 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 96 | 18,612 | 22,836 | 110,302 |
JavaScript | 1 | 160 | 39 | 1,183 |
CSS | 3 | 18 | 1 | 342 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
Average class complexity | 1.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 1.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2,058 | |
▷ Abstract classes | 5 | 0.24% |
▷ Concrete classes | 2,053 | 99.76% |
▷ Final classes | 0 | 0.00% |
Methods | 16,631 | |
▷ Static methods | 12 | 0.07% |
▷ Public methods | 16,593 | 99.77% |
▷ Protected methods | 11 | 0.07% |
▷ Private methods | 27 | 0.16% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 170 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 170 | 100.00% |
▷ Public constants | 170 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/phone-icon.png | 4.54KB | 0.75KB | ▼ 83.51% |