Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install 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
Server metrics [RAM: ▼1.63MB] [CPU: ▼188.00ms] Passed 4 tests
Analyzing server-side resources used by Shabbat Zman Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.01 ▼0.83 | 5.53 ▼18.80 |
Dashboard /wp-admin | 2.02 ▼1.04 | 3.87 ▼43.32 |
Posts /wp-admin/edit.php | 2.02 ▼1.08 | 4.65 ▼30.79 |
Add New Post /wp-admin/post-new.php | 2.02 ▼3.42 | 4.16 ▼654.24 |
Media Library /wp-admin/upload.php | 2.02 ▼0.98 | 4.18 ▼23.64 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_frizman-shabbat-widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Shabbat Zman Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,691 ▲90 | 15.92 ▲0.36 | 6.10 ▲0.91 | 75.36 ▼0.38 |
Dashboard /wp-admin | 2,930 ▲34 | 6.12 ▼0.08 | 113.10 ▼18.65 | 165.49 ▼8.09 |
Posts /wp-admin/edit.php | 2,737 ▼6 | 3.24 ▲0.01 | 61.61 ▼0.52 | 135.56 ▲2.94 |
Add New Post /wp-admin/post-new.php | 3,807 ▼116 | 17.94 ▼1.45 | 431.50 ▲14.36 | 165.91 ▼1.81 |
Media Library /wp-admin/upload.php | 1,749 ▼3 | 5.51 ▼0.04 | 145.81 ▲11.94 | 183.07 ▲1.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > 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 1 option in the database
- widget_frizman-shabbat-widget
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)
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > 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 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
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
You should first fix the following items:
- 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 | An overview of files in this plugin; executable files are not allowed
There were no executable 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
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected