Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.25ms] Passed 4 tests
An overview of server-side resources used by Jewish Date
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 37.89 ▼8.49 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.96 ▼0.47 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.94 ▲3.91 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.32 ▲10.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.71 ▲0.06 |
Jewish Date /wp-admin/options-general.php?page=pwpjd_jewish_date | 3.22 | 29.94 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_pwpjd-jewish-date-widget |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Jewish Date
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.26 ▼1.34 | 1.59 ▼0.49 | 37.85 ▼7.02 |
Dashboard /wp-admin | 2,215 ▲24 | 5.85 ▲0.00 | 101.21 ▼15.08 | 40.37 ▼4.54 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.05 ▲0.01 | 40.92 ▲3.53 | 34.61 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 22.98 ▼0.16 | 601.95 ▼63.99 | 52.83 ▲0.54 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.22 ▲0.05 | 97.60 ▼10.66 | 43.49 ▼2.98 |
Jewish Date /wp-admin/options-general.php?page=pwpjd_jewish_date | 803 | 2.05 | 24.47 | 27.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jewish-date/includes/date-comments.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jewish-date/includes/class-jewishdate-widget.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jewish-date/jewish-date.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jewish-date/includes/date-posts.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jewish-date/admin/admin-page.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: calendar, hebrew calendar, jewish date, jewish, hebrew date...
jewish-date/jewish-date.php 92% from 13 tests
The principal PHP file in "Jewish Date" v. 1.0.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires PHP: Please use periods and digits for the required version (ex. "7.0" instead of "7.0.0 or higher")
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
No dangerous file extensions were detected571 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 121 | 130 | 312 |
PHP | 7 | 48 | 108 | 253 |
CSS | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin