Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/snapcall/snapcall.php+19
date_default_timezone_set(): Timezone ID '' is invalid
Server metrics [RAM: ▼1.83MB] [CPU: ▼47.77ms] Passed 4 tests
Server-side resources used by Snapcall
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 4.99 ▼33.79 |
Dashboard /wp-admin | 2.17 ▼1.13 | 13.86 ▼32.53 |
Posts /wp-admin/edit.php | 2.17 ▼1.18 | 6.28 ▼44.05 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.71 | 5.97 ▼80.70 |
Media Library /wp-admin/upload.php | 2.17 ▼1.05 | 5.80 ▼26.75 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Snapcall
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.04 | 1.71 ▲0.09 | 45.38 ▼0.72 |
Dashboard /wp-admin | 2,206 ▲14 | 4.87 ▼0.04 | 109.88 ▼0.12 | 41.77 ▼4.25 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.04 ▲0.03 | 38.78 ▼2.08 | 36.76 ▲0.06 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.22 ▼5.29 | 625.70 ▼17.35 | 56.23 ▲1.06 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.24 ▲0.04 | 97.46 ▲2.59 | 42.34 ▲0.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/snapcall/snapcall.php+19
date_default_timezone_set(): Timezone ID '' is invalid
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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
Everything seems fine, however 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
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/snapcall/include/login.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/snapcall/include/first_button.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/snapcall/include/register.php:4
- > PHP Fatal error
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 Passed 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: customer relationship, call, ecommerce, conversion rate
snapcall/snapcall.php Passed 13 tests
Analyzing the main PHP file in "Snapcall" version 2.1.0
32 characters long description:
Connect your CMS with Snapcall !
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
Good job! No executable or dangerous file extensions detected874 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 21 | 54 | 418 |
JavaScript | 2 | 7 | 0 | 181 |
SVG | 3 | 0 | 0 | 97 |
CSS | 2 | 0 | 0 | 92 |
PO File | 1 | 31 | 35 | 86 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
7 PNG files occupy 0.19MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 32.29KB | 8.91KB | ▼ 72.40% |
assets/screenshot-2.png | 72.23KB | 14.82KB | ▼ 79.48% |
assets/img/badge-google-play-en.png | 13.58KB | 6.14KB | ▼ 54.76% |
assets/img/snapcall.png | 4.29KB | 2.29KB | ▼ 46.53% |
assets/screenshot-3.png | 52.71KB | 14.89KB | ▼ 71.76% |