Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼1.12MB] [CPU: ▼41.02ms] Passed 4 tests
An overview of server-side resources used by ATOM Appointment Management
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.62 ▼0.84 | 8.77 ▼25.51 |
Dashboard /wp-admin | 2.97 ▼0.33 | 13.75 ▼31.95 |
Posts /wp-admin/edit.php | 2.98 ▼0.39 | 15.06 ▼32.98 |
Add New Post /wp-admin/post-new.php | 2.97 ▼2.92 | 15.15 ▼73.65 |
Media Library /wp-admin/upload.php | 2.97 ▼0.26 | 13.97 ▼20.27 |
E-Mails /wp-admin/admin.php?page=atom-appointment-management-email | 2.98 | 14.00 |
Individual Appointments /wp-admin/admin.php?page=atom-appointment-management-individual | 2.98 | 14.76 |
Settings /wp-admin/admin.php?page=atom-appointment-management-settings | 2.98 | 13.49 |
Rule-Based Appointments /wp-admin/admin.php?page=atom-appointment-management-rule-based | 2.98 | 20.73 |
Appointments /wp-admin/admin.php?page=atom-appointment-management | 2.98 | 13.37 |
Server storage [IO: ▲6.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2,058 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_aam_entries |
wp_aam_exceptions |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
atom_aam_version |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for ATOM Appointment Management
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲221 | 15.89 ▲1.67 | 45.76 ▲44.09 | 38.54 ▼2.32 |
Dashboard /wp-admin | 2,244 ▲52 | 4.85 ▼0.11 | 113.32 ▼5.52 | 44.27 ▲2.05 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 1.97 ▼0.07 | 35.06 ▼2.41 | 32.42 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,561 ▲42 | 23.33 ▼0.15 | 654.38 ▼25.62 | 52.12 ▼10.70 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.20 ▲0.01 | 97.45 ▼4.09 | 43.53 ▼0.78 |
E-Mails /wp-admin/admin.php?page=atom-appointment-management-email | 1,188 | 2.15 | 30.51 | 34.77 |
Individual Appointments /wp-admin/admin.php?page=atom-appointment-management-individual | 1,129 | 2.13 | 31.11 | 31.11 |
Settings /wp-admin/admin.php?page=atom-appointment-management-settings | 3,205 | 7.50 | 179.04 | 134.79 |
Rule-Based Appointments /wp-admin/admin.php?page=atom-appointment-management-rule-based | 1,816 | 2.36 | 37.57 | 34.21 |
Appointments /wp-admin/admin.php?page=atom-appointment-management | 939 | 2.14 | 28.30 | 27.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/atom-appointment-management/classes/aam.class.php+331
Trying to access array offset on value of type bool
- The uninstall procedure failed, leaving 2 tables in the database
- wp_aam_entries
- wp_aam_exceptions
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- atom_aam_version
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=atom-appointment-management
- > Notice in wp-content/plugins/atom-appointment-management/classes/aam.class.php+331
Trying to access array offset on value of type bool
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 fix the following
- 984× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'jamesiarmes\\PhpEws\\Type' not found in wp-content/plugins/atom-appointment-management/vendor/php-ews/php-ews/src/Type/PhoneNumberAttributedValueType.php:15
- > PHP Fatal error
Uncaught Error: Class 'jamesiarmes\\PhpEws\\ArrayType' not found in wp-content/plugins/atom-appointment-management/vendor/php-ews/php-ews/src/ArrayType/ArrayOfFindMessageTrackingSearchResultType.php:15
- > PHP Fatal error
Uncaught Error: Class 'jamesiarmes\\PhpEws\\Type\\FolderChangeDescriptionType' not found in wp-content/plugins/atom-appointment-management/vendor/php-ews/php-ews/src/Type/AppendToFolderFieldType.php:14
- > PHP Fatal error
Uncaught Error: Class 'jamesiarmes\\PhpEws\\Type' not found in wp-content/plugins/atom-appointment-management/vendor/php-ews/php-ews/src/Type/FindItemParentType.php:18
- > PHP Fatal error
Uncaught Error: Class 'jamesiarmes\\PhpEws\\Type' not found in wp-content/plugins/atom-appointment-management/vendor/php-ews/php-ews/src/Type/ServerVersionInfo.php:15
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Loader\\FileLoader' not found in wp-content/plugins/atom-appointment-management/vendor/symfony/translation/Loader/CsvFileLoader.php:21
- > PHP Fatal error
Uncaught Error: Class 'jamesiarmes\\PhpEws\\ArrayType' not found in wp-content/plugins/atom-appointment-management/vendor/php-ews/php-ews/src/ArrayType/ArrayOfWorkingPeriod.php:15
- > PHP Fatal error
Uncaught Error: Class 'jamesiarmes\\PhpEws\\Request\\BaseRequestType' not found in wp-content/plugins/atom-appointment-management/vendor/php-ews/php-ews/src/Request/GetAttachmentType.php:13
- > PHP Fatal error
Uncaught Error: Class 'jamesiarmes\\PhpEws\\Response\\BaseResponseMessageType' not found in wp-content/plugins/atom-appointment-management/vendor/php-ews/php-ews/src/Response/CreateFolderPathResponseType.php:13
- > PHP Fatal error
Uncaught Error: Class 'jamesiarmes\\PhpEws\\ArrayType' not found in wp-content/plugins/atom-appointment-management/vendor/php-ews/php-ews/src/ArrayType/ArrayOfTransitionsGroupsType.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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
9 plugin tags: event, kalender, business, kunde, calendar...
atom-appointment-management/atom-appointment-management.php Passed 13 tests
Analyzing the main PHP file in "ATOM Appointment Management" version 4.1.1
54 characters long description:
Easily manage and schedule your customer appointments.
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
It is important to fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/atom-appointment-management/vendor/nesbot/carbon/bin/carbon.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,704 | 15,095 | 64,504 | 57,560 |
XSD | 5 | 1,543 | 608 | 15,094 |
XML | 1 | 264 | 112 | 3,248 |
PO File | 26 | 872 | 1,059 | 2,854 |
JSON | 13 | 8 | 0 | 1,301 |
JavaScript | 4 | 196 | 71 | 981 |
Sass | 3 | 210 | 6 | 858 |
Markdown | 15 | 279 | 0 | 822 |
CSS | 7 | 50 | 59 | 789 |
Mustache | 1 | 2 | 0 | 27 |
YAML | 2 | 0 | 0 | 19 |
DOS Batch | 1 | 0 | 0 | 4 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 140)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 5.01 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 315.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 140.00 |
Code structure | ||
---|---|---|
Namespaces | 35 | |
Interfaces | 28 | |
Traits | 26 | |
Classes | 956 | |
▷ Abstract classes | 50 | 5.23% |
▷ Concrete classes | 906 | 94.77% |
▷ Final classes | 14 | 1.55% |
Methods | 2,527 | |
▷ Static methods | 427 | 16.90% |
▷ Public methods | 2,090 | 82.71% |
▷ Protected methods | 305 | 12.07% |
▷ Private methods | 132 | 5.22% |
Functions | 332 | |
▷ Named functions | 100 | 30.12% |
▷ Anonymous functions | 232 | 69.88% |
Constants | 1,671 | |
▷ Global constants | 14 | 0.84% |
▷ Class constants | 1,657 | 99.16% |
▷ Public constants | 1,654 | 99.82% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |
vendor/php-ews/php-ews/examples/assets/exchange.png | 6.31KB | 3.11KB | ▼ 50.72% |