Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.94ms] Passed 4 tests
This is a short check of server-side resources used by 3veta Booking Page for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 32.96 ▼4.70 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.32 ▼14.44 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.39 ▲1.88 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.02 ▼6.50 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.18 ▲1.94 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by 3veta Booking Page for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.18 ▼0.17 | 1.60 ▲0.09 | 38.91 ▼4.97 |
Dashboard /wp-admin | 2,212 ▲32 | 5.59 ▼0.07 | 90.10 ▲1.37 | 40.57 ▼1.99 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.95 ▼0.08 | 39.39 ▲4.30 | 34.24 ▼4.30 |
Add New Post /wp-admin/post-new.php | 1,542 ▲7 | 23.03 ▲4.75 | 648.61 ▲52.46 | 53.18 ▼9.04 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.20 ▼0.09 | 95.86 ▼10.53 | 42.83 ▼6.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/3veta/inc/shortcodes.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/3veta/inc/admin-page.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/3veta/inc/wordpress.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/3veta/inc/common.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/3veta/inc/templates/admin.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: booking calendar, meeting scheduling software, appointment scheduling, calendar sync, booking...
3veta/3veta.php Passed 13 tests
The main file in "3veta Booking Page for WordPress" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
131 characters long description:
"3veta Booking Page for WordPress" allows you to embed your 3veta booking page to your WordPress website in an easy and simple way.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin808 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 54 | 55 | 378 |
CSS | 1 | 36 | 2 | 227 |
JavaScript | 1 | 19 | 11 | 124 |
PO File | 1 | 30 | 31 | 79 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/3veta-logo-typography-transparent.png | 51.80KB | 18.71KB | ▼ 63.89% |
assets/images/3veta-icon-small.png | 9.51KB | 1.65KB | ▼ 82.68% |