Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.04ms] Passed 4 tests
A check of server-side resources used by Wordpress Hebrew Date
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 48.00 ▲2.48 |
Dashboard /wp-admin | 3.40 ▲0.05 | 52.96 ▼17.84 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 54.86 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 99.33 ▼6.56 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.92 ▲3.13 |
Hebrew Date /wp-admin/options-general.php?page=wordpress-hebrew-date | 3.28 | 35.39 |
Server storage [IO: ▲0.07MB] [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: 9 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_hebdate_widget |
can_compress_scripts |
longitude |
widget_recent-comments |
hebdate_lang |
latitude |
theysaidso_admin_options |
hebdate_format |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Wordpress Hebrew Date
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.27 ▼0.30 | 1.77 ▲0.02 | 42.32 ▼0.90 |
Dashboard /wp-admin | 2,202 ▲28 | 5.62 ▲0.03 | 90.65 ▼14.10 | 40.34 ▼3.15 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▼0.04 | 40.34 ▲2.57 | 38.78 ▲2.23 |
Add New Post /wp-admin/post-new.php | 1,531 ▼5 | 23.27 ▲0.21 | 678.67 ▲20.59 | 55.76 ▼0.48 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.00 | 96.66 ▼4.39 | 43.77 ▲1.69 |
Hebrew Date /wp-admin/options-general.php?page=wordpress-hebrew-date | 941 | 2.05 | 25.84 | 32.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 11 options
- widget_recent-comments
- can_compress_scripts
- hebdate_lang
- db_upgraded
- hebdate_format
- latitude
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_hebdate_widget
- longitude
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wordpress-hebrew-date/heb_date.php:313
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Date in post), #2 (Date in comment), #3 (Widget)
wordpress-hebrew-date/heb_date.php 92% from 13 tests
The entry point to "Wordpress Hebrew Date" version 2.0.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wordpress-hebrew-date.php" instead of "heb_date.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin395 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 66 | 26 | 309 |
PO File | 1 | 29 | 34 | 86 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 14.29KB | 6.27KB | ▼ 56.15% |
screenshot-3.png | 10.53KB | 4.09KB | ▼ 61.19% |
screenshot-2.png | 17.59KB | 6.69KB | ▼ 61.97% |