Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.52ms] Passed 4 tests
Server-side resources used by Holy Quran random verse Multilanguage
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.71 ▼2.99 |
Dashboard /wp-admin | 3.36 ▲0.06 | 43.76 ▼2.58 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.33 ▲5.21 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.32 ▼2.81 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 31.61 ▼1.68 |
Server storage [IO: ▲28.78MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Total filesystem usage should be limited to 25MB (currently using 28.78MB)
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_quran_random |
Browser metrics Passed 4 tests
A check of browser resources used by Holy Quran random verse Multilanguage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.85 ▼0.80 | 13.45 ▲11.71 | 43.57 ▲5.78 |
Dashboard /wp-admin | 2,206 ▲17 | 5.87 ▲0.91 | 106.38 ▼5.04 | 41.51 ▲0.16 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.17 ▲0.12 | 39.02 ▼0.40 | 35.49 ▲3.05 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 18.55 ▼4.45 | 588.11 ▼84.66 | 54.20 ▼2.90 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.18 ▼0.04 | 101.93 ▲5.51 | 44.77 ▼2.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_quran_random
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/holy-quran-random-verse-multilanguage/quran-multilanguage-widget.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: muslim, quran translate, islam, quran verse, coran en texte...
holy-quran-random-verse-multilanguage/quran-multilanguage-widget.php 92% from 13 tests
Analyzing the main PHP file in "Holy Quran random verse Multilanguage" version 1.2.10
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("holy-quran-random-verse-multilanguage.php" instead of "quran-multilanguage-widget.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
Everything looks great! No dangerous files found in this plugin4,195 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 1,748 | 1,036 | 3,998 |
PHP | 1 | 29 | 8 | 197 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 82.00 |
▷ Minimum class complexity | 82.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 21.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.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 | 3 | |
▷ Named functions | 3 | 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 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |
img/play.png | 0.94KB | 1.01KB | 0.00% |
js/jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |