Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▲1.23ms] Passed 4 tests
Server-side resources used by Wilapp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.93 ▲2.11 |
Dashboard /wp-admin | 3.43 ▲0.13 | 52.44 ▼0.40 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 50.12 ▲0.87 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 98.47 ▲4.48 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 39.00 ▲2.34 |
Wilapp /wp-admin/options-general.php?page=wilapp-options | 3.32 | 442.45 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Wilapp: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.25 ▼0.95 | 5.43 ▲3.50 | 40.76 ▼0.11 |
Dashboard /wp-admin | 2,212 ▲21 | 5.86 ▲1.00 | 109.80 ▲2.49 | 43.24 ▲0.12 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 2.00 ▼0.04 | 39.83 ▼1.44 | 35.04 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.28 ▲5.71 | 637.12 ▲12.69 | 51.34 ▲0.84 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▼0.00 | 99.75 ▼9.23 | 41.23 ▼5.37 |
Wilapp /wp-admin/options-general.php?page=wilapp-options | 906 | 2.18 | 23.70 | 25.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wilapp-options
- > Notice in wp-content/plugins/wilapp/includes/class-wilapp-admin-settings.php+293
Trying to access array offset on value of type bool
SRP 50% 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 fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wilapp/wilapp.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: appointments, booking system, service, booking, calendar
wilapp/wilapp.php 77% from 13 tests
The main file in "Wilapp" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "5.4")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("5.6" instead of "7.4")
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,247 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 103 | 277 | 663 |
CSS | 2 | 83 | 10 | 405 |
JavaScript | 1 | 15 | 3 | 100 |
SVG | 4 | 2 | 0 | 79 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 31.67 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
No PNG files were detected