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
- The plugin did not install without errors
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▲1.58MB] [CPU: ▲6.03ms] Passed 4 tests
An overview of server-side resources used by Talika
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.07 ▲1.61 | 50.77 ▲7.95 |
Dashboard /wp-admin | 4.89 ▲1.54 | 60.68 ▼5.68 |
Posts /wp-admin/edit.php | 4.94 ▲1.58 | 61.85 ▲10.23 |
Add New Post /wp-admin/post-new.php | 7.86 ▲1.98 | 111.02 ▲11.60 |
Media Library /wp-admin/upload.php | 4.81 ▲1.58 | 54.60 ▲18.21 |
Dashboard /wp-admin/admin.php?page=talika | 4.84 | 61.08 |
Notifications /wp-admin/admin.php?page=talika-notifications | 4.84 | 53.26 |
Customers /wp-admin/admin.php?page=talika-customers | 4.84 | 50.37 |
Staffs /wp-admin/admin.php?page=talika-staffs | 4.84 | 49.37 |
Appointments /wp-admin/admin.php?page=talika-appointments | 4.84 | 47.23 |
Global Settings /wp-admin/admin.php?page=talika-settings | 4.84 | 49.73 |
Services /wp-admin/admin.php?page=talika-services | 4.84 | 47.73 |
Locations /wp-admin/admin.php?page=talika-locations | 4.84 | 46.54 |
Server storage [IO: ▲6.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 118 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
talika_bearer_token |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Talika
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,043 ▲297 | 16.26 ▲1.91 | 33.31 ▲31.23 | 44.46 ▲1.07 |
Dashboard /wp-admin | 2,274 ▲86 | 5.81 ▼0.09 | 99.60 ▼11.87 | 40.10 ▼1.65 |
Posts /wp-admin/edit.php | 2,157 ▲68 | 2.03 ▲0.01 | 40.07 ▲1.06 | 44.21 ▲10.75 |
Add New Post /wp-admin/post-new.php | 6,222 ▲4,689 | 19.37 ▼3.77 | 833.14 ▲232.14 | 35.34 ▼14.38 |
Media Library /wp-admin/upload.php | 1,456 ▲68 | 4.23 ▲0.07 | 101.92 ▼3.00 | 46.21 ▲0.14 |
Dashboard /wp-admin/admin.php?page=talika | 1,559 | 11.46 | 398.38 | 99.06 |
Notifications /wp-admin/admin.php?page=talika-notifications | 1,856 | 13.48 | 188.34 | 59.63 |
Customers /wp-admin/admin.php?page=talika-customers | 1,760 | 12.08 | 133.26 | 54.65 |
Staffs /wp-admin/admin.php?page=talika-staffs | 1,730 | 12.10 | 125.02 | 38.87 |
Appointments /wp-admin/admin.php?page=talika-appointments | 1,486 | 9.88 | 137.10 | 53.90 |
Global Settings /wp-admin/admin.php?page=talika-settings | 1,720 | 11.92 | 125.86 | 38.12 |
Services /wp-admin/admin.php?page=talika-services | 1,704 | 12.14 | 128.47 | 39.45 |
Locations /wp-admin/admin.php?page=talika-locations | 1,736 | 13.19 | 139.45 | 41.82 |
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
You still need to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- talika_bearer_token
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=talika
- > Notice in wp-content/plugins/talika/includes/functions/HelperFunctions.php+921
Undefined variable: customers_count
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/talika/includes/classes/class-shortcode.php
- > /wp-content/plugins/talika/includes/classes/class-admin-functions.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Talika_API_Controller' not found in wp-content/plugins/talika/includes/api/inc/endpoints/class-talika-rest-locations-controller.php:16
- > PHP Fatal error
Uncaught Error: Class 'Talika_API_Controller' not found in wp-content/plugins/talika/includes/api/inc/endpoints/class-talika-rest-appointment-controller.php:16
- > PHP Fatal error
Uncaught Error: Class 'Talika_API_Controller' not found in wp-content/plugins/talika/includes/api/inc/endpoints/class-talika-rest-notifications-controller.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/talika/includes/api/inc/class-talika-rest-authentication.php:50
- > PHP Fatal error
Uncaught Error: Class 'Talika_API_Controller' not found in wp-content/plugins/talika/includes/api/inc/endpoints/class-talika-rest-staffs-controller.php:16
- > PHP Fatal error
Uncaught Error: Class 'Talika_API_Controller' not found in wp-content/plugins/talika/includes/api/inc/endpoints/class-talika-rest-global-controller.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/talika/includes/classes/class-talika-fonts-manager.php:791
- > PHP Fatal error
Uncaught Error: Class 'Talika_API_Controller' not found in wp-content/plugins/talika/includes/api/inc/endpoints/class-talika-rest-analytics-controller.php:15
- > PHP Fatal error
Uncaught Error: Class 'Talika_API_Controller' not found in wp-content/plugins/talika/includes/api/inc/endpoints/class-talika-rest-customers-controller.php:17
- > PHP Fatal error
Uncaught Error: Class 'Talika_API_Controller' not found in wp-content/plugins/talika/includes/api/inc/endpoints/class-talika-rest-services-controller.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: appointments, scheduling, appointment booking, booking, calendar
talika/talika.php Passed 13 tests
The entry point to "Talika" version 1.0.0 is a PHP file that has certain tags in its header comment area
92 characters long description:
Talika is a free online appointment and scheduling plugin to manage your services and staff.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin23,351 lines of code in 92 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 64 | 1,709 | 3,679 | 10,487 |
SVG | 7 | 0 | 0 | 9,602 |
CSS | 10 | 303 | 202 | 2,910 |
Markdown | 1 | 56 | 0 | 241 |
JSON | 3 | 0 | 0 | 103 |
JavaScript | 7 | 0 | 1 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 25.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 135.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 1 | 2.22% |
▷ Concrete classes | 44 | 97.78% |
▷ Final classes | 1 | 2.27% |
Methods | 425 | |
▷ Static methods | 62 | 14.59% |
▷ Public methods | 385 | 90.59% |
▷ Protected methods | 16 | 3.76% |
▷ Private methods | 24 | 5.65% |
Functions | 80 | |
▷ Named functions | 47 | 58.75% |
▷ Anonymous functions | 33 | 41.25% |
Constants | 19 | |
▷ Global constants | 19 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
app/src/frontend/img/qrcode.png | 1.86KB | 1.84KB | ▼ 0.79% |
app/src/frontend/img/paynow.png | 3.98KB | 2.40KB | ▼ 39.77% |
app/src/frontend/img/paylater.png | 4.41KB | 2.61KB | ▼ 40.69% |
app/src/frontend/img/card.png | 0.59KB | 0.58KB | ▼ 2.30% |