Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/logmycalls-dashboard/logmycalls-dashboard.php+24
Non-static method LogMyCalls_Integration::logmycalls_include_from() should not be called statically
Server metrics [RAM: ▼1.85MB] [CPU: ▼51.96ms] Passed 4 tests
Analyzing server-side resources used by LogMyCalls Dashboard
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 5.37 ▼36.53 |
Dashboard /wp-admin | 2.16 ▼1.14 | 11.67 ▼37.84 |
Posts /wp-admin/edit.php | 2.16 ▼1.19 | 7.32 ▼41.78 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 7.26 ▼91.67 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 7.44 ▼30.44 |
LogMyCalls Settings /wp-admin/options-general.php?page=logmycalls-settings | 2.16 | 6.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This 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-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
LogMyCalls Dashboard: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲73 | 14.27 ▼0.13 | 1.85 ▲0.12 | 41.42 ▼2.56 |
Dashboard /wp-admin | 2,240 ▲60 | 5.57 ▼0.10 | 84.39 ▼4.45 | 42.44 ▼2.57 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.05 | 39.62 ▼3.09 | 35.29 ▼2.41 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.27 ▲0.17 | 673.62 ▼8.65 | 54.56 ▼6.51 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.18 ▼0.06 | 99.13 ▼9.04 | 42.81 ▼2.97 |
LogMyCalls Settings /wp-admin/options-general.php?page=logmycalls-settings | 953 | 2.00 | 27.06 | 28.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/logmycalls-dashboard/logmycalls-dashboard.php+24
Non-static method LogMyCalls_Integration::logmycalls_include_from() should not be called statically
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=logmycalls-settings
- > Deprecated in wp-content/plugins/logmycalls-dashboard/logmycalls-dashboard.php+24
Non-static method LogMyCalls_Integration::logmycalls_include_from() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=logmycalls-settings
- > Notice in wp-content/plugins/logmycalls-dashboard/logmycalls-dashboard.php+141
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
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Metric' not found in wp-content/plugins/logmycalls-dashboard/lib/metrics/lmclongestcall.metric.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'Metric' not found in wp-content/plugins/logmycalls-dashboard/lib/metrics/lmctotalcalls.metric.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'Metric' not found in wp-content/plugins/logmycalls-dashboard/lib/metrics/lmctotalcallduration.metric.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'Metric' not found in wp-content/plugins/logmycalls-dashboard/lib/metrics/lmctotalcallsanswered.metric.class.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/logmycalls-dashboard/lib/lmcconnector.class.php:68
- > PHP Fatal error
Uncaught Error: Class 'Metric' not found in wp-content/plugins/logmycalls-dashboard/lib/metrics/lcmaveragecallduration.metric.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'Metric' not found in wp-content/plugins/logmycalls-dashboard/lib/metrics/lmctotalcallsunanswered.metric.class.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: call tracking, logmycalls
logmycalls-dashboard/logmycalls-dashboard.php Passed 13 tests
The entry point to "LogMyCalls Dashboard" version 1.0 is a PHP file that has certain tags in its header comment area
45 characters long description:
Display LogMyCalls stats on your WP Dashboard
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,013 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 274 | 185 | 937 |
CSS | 1 | 19 | 0 | 76 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 1 | 1.11% |
▷ Public methods | 83 | 92.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 7.78% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin