Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.77ms] Passed 4 tests
A check of server-side resources used by Farsi Bible Verse of the day
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.95 ▼0.67 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.86 ▲2.22 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.05 ▼1.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.00 ▼1.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.21 ▲1.13 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_farsi_verse_ofthe_daywidget |
widget_farsiverse_ofthedaywidget |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Farsi Bible Verse of the day
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲13 | 13.21 ▼1.24 | 1.70 ▲0.03 | 43.49 ▲1.60 |
Dashboard /wp-admin | 2,206 ▲3 | 4.85 ▼0.98 | 111.94 ▲12.11 | 42.32 ▲4.81 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▲0.01 | 35.22 ▲1.12 | 33.07 ▼6.92 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.62 ▼5.57 | 682.65 ▲28.22 | 60.71 ▲6.58 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.25 ▲0.04 | 93.56 ▼10.94 | 42.26 ▼5.52 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- widget_recent-posts
- widget_farsi_verse_ofthe_daywidget
- widget_theysaidso_widget
- widget_farsiverse_ofthedaywidget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/farsi-bible-verse-of-the-day/farsi-verse-of-the-day.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: farsi verse, verse, farsi, everyday, verse of the day...
farsi-bible-verse-of-the-day/farsi-verse-of-the-day.php 92% from 13 tests
The entry point to "Farsi Bible Verse of the day" version 1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("farsi-bible-verse-of-the-day.php" instead of "farsi-verse-of-the-day.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin459 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 20 | 454 |
CSS | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
2 PNG files occupy 0.19MB with 0.12MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-128x128.png | 25.63KB | 9.17KB | ▼ 64.21% |
screenshot-2.png | 168.63KB | 55.75KB | ▼ 66.94% |