Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/crowdclock/crowdclock_Widget.php+27
Function create_function() is deprecated
Server metrics [RAM: ▼1.94MB] [CPU: ▼53.59ms] Passed 4 tests
This is a short check of server-side resources used by CrowdClock
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 5.20 ▼34.36 |
Dashboard /wp-admin | 2.06 ▼1.24 | 6.21 ▼42.86 |
Posts /wp-admin/edit.php | 2.06 ▼1.29 | 5.92 ▼50.34 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 8.71 ▼86.78 |
Media Library /wp-admin/upload.php | 2.06 ▼1.17 | 6.13 ▼28.01 |
CrowdClock /wp-admin/plugins.php?page=crowdclock_PluginSettings | 2.07 | 5.78 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_crowdclock_widget |
crowdclock_Plugin__installed |
db_upgraded |
crowdclock_Plugin__version |
widget_theysaidso_widget |
theysaidso_admin_options |
crowdclock_Plugin_widgetHeight |
can_compress_scripts |
crowdclock_Plugin_widgetWidth |
crowdclock_Plugin_ATextInput |
... |
Browser metrics Passed 4 tests
Checking browser requirements for CrowdClock
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.79 ▲0.02 | 1.91 ▲0.02 | 44.18 ▲0.15 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼1.05 | 99.45 ▼11.67 | 39.29 ▼5.28 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▲0.02 | 39.25 ▼1.35 | 35.31 ▼1.92 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.68 ▼0.62 | 667.62 ▲55.58 | 53.88 ▼1.35 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.21 ▲0.03 | 96.57 ▼3.93 | 41.18 ▼1.60 |
CrowdClock /wp-admin/plugins.php?page=crowdclock_PluginSettings | 870 | 2.03 | 22.57 | 26.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/crowdclock/crowdclock_Widget.php+27
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 13 options in the database
- crowdclock_Plugin_ATextInput
- crowdclock_Plugin_BTextInput
- widget_crowdclock_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- crowdclock_Plugin_widgetHeight
- widget_recent-comments
- widget_recent-posts
- 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/plugins.php?page=crowdclock_PluginSettings
- > Deprecated in wp-content/plugins/crowdclock/crowdclock_Widget.php+27
Function create_function() is deprecated
- > GET request to /wp-admin/plugins.php?page=crowdclock_PluginSettings
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in crowdclock_Widget is deprecated since version 4.3.0! Use __construct() instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/crowdclock/crowdclock_Widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/crowdclock/crowdclock_Widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/crowdclock/crowdclock.php:67
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: crowdclock
crowdclock/crowdclock.php Passed 13 tests
The entry point to "CrowdClock" version 0.1 is a PHP file that has certain tags in its header comment area
28 characters long description:
Instant Appointment Solution
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected515 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 180 | 549 | 515 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 1.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 2 | 28.57% |
▷ Concrete classes | 5 | 71.43% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 63.16% |
▷ Protected methods | 28 | 36.84% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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