Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.43ms] Passed 4 tests
This is a short check of server-side resources used by Lokalyze - Schedule A Meeting
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.46 ▼1.85 |
Dashboard /wp-admin | 3.34 ▲0.04 | 51.14 ▲0.52 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.91 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.18 ▲8.64 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.05 ▲1.38 |
Schedule a Meeting /wp-admin/options-general.php?page=schedule-a-meeting | 3.51 | 35.90 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
ladminemail |
lprofile |
theysaidso_admin_options |
ltimezone |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Lokalyze - Schedule A Meeting
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲117 | 13.46 ▼1.14 | 8.72 ▲6.61 | 36.16 ▼8.00 |
Dashboard /wp-admin | 2,199 ▲19 | 5.50 ▼0.12 | 85.44 ▼8.43 | 37.27 ▼4.10 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.97 ▼0.06 | 39.36 ▼2.01 | 36.63 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,538 ▲1 | 18.01 ▼0.39 | 621.41 ▼61.12 | 66.30 ▲0.05 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.16 ▲0.04 | 102.13 ▼13.90 | 44.07 ▼5.47 |
Schedule a Meeting /wp-admin/options-general.php?page=schedule-a-meeting | 3,324 | 2.03 | 26.49 | 33.08 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=schedule-a-meeting
- > Warning in wp-content/plugins/lokalyze-schedule-a-meeting/lokalyze-schedule-a-meeting.php+188
Use of undefined constant CNB_VERSION - assumed 'CNB_VERSION' (this will throw an Error in a future version of PHP)
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/lokalyze-schedule-a-meeting/lokalyze-schedule-a-meeting.php:28
- > 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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== lokalyze-schedule-a-meeting ===
)
lokalyze-schedule-a-meeting/lokalyze-schedule-a-meeting.php Passed 13 tests
This is the main PHP file of "Lokalyze - Schedule A Meeting" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
62 characters long description:
Schedule a meeting with person and receive mail notifications.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin4,104 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 101 | 188 | 3,617 |
JavaScript | 11 | 7 | 361 | 336 |
PHP | 1 | 25 | 22 | 151 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
There were not PNG files found in your plugin