Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/adatosystems-friday-zmanim/zmanfriday.php+35
Methods with the same name as their class will not be constructors in a future version of PHP; AdatoSystems_Zman_Widget has a deprecated constructor
Server metrics [RAM: ▼1.70MB] [CPU: ▼57.28ms] Passed 4 tests
Analyzing server-side resources used by Shabbat Zman Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.17 | 5.45 ▼33.96 |
Dashboard /wp-admin | 2.32 ▼0.99 | 6.44 ▼48.64 |
Posts /wp-admin/edit.php | 2.32 ▼1.04 | 9.18 ▼46.79 |
Add New Post /wp-admin/post-new.php | 2.32 ▼3.57 | 6.81 ▼99.74 |
Media Library /wp-admin/upload.php | 2.32 ▼0.92 | 6.68 ▼32.25 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_frizman-shabbat-widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shabbat Zman Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲0.34 | 2.16 ▲0.44 | 44.95 ▼3.27 |
Dashboard /wp-admin | 2,192 ▲12 | 5.56 ▼0.04 | 94.08 ▲2.08 | 39.19 ▼1.11 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.05 | 36.95 ▼4.94 | 33.67 ▼4.40 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 22.86 ▲1.91 | 686.55 ▼9.85 | 55.66 ▼2.64 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.05 | 99.44 ▼17.86 | 43.26 ▼5.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/adatosystems-friday-zmanim/zmanfriday.php+35
Methods with the same name as their class will not be constructors in a future version of PHP; AdatoSystems_Zman_Widget has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_frizman-shabbat-widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/adatosystems-friday-zmanim/zmanfriday.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
3 plugin tags: shabbat times, shabbat, zman
adatosystems-friday-zmanim/zmanfriday.php 92% from 13 tests
The primary PHP file in "Shabbat Zman Widget" version 1.8 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("adatosystems-friday-zmanim.php" instead of "zmanfriday.php")
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 plugin366 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 62 | 366 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 70.00 |
▷ Minimum class complexity | 70.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 18.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
No PNG images were found in this plugin