Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼11.66ms] Passed 4 tests
An overview of server-side resources used by Quran Live Multilanguage
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.02 | 23.18 ▼20.50 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.31 ▼7.68 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 43.97 ▼5.06 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 91.36 ▼13.40 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 38.31 ▲5.18 |
Server storage [IO: ▲38.84MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- Total filesystem usage must be limited to 25MB (currently using 38.84MB)
Filesystem: 68 new files
Database: no new tables, 9 new options
New WordPress options |
---|
quran_live_languages |
widget_recent-posts |
db_upgraded |
quran_live_recitator |
widget_theysaidso_widget |
template_quran_live |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quran Live Multilanguage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲187 | 13.92 ▼0.38 | 9.02 ▲6.66 | 37.08 ▼8.02 |
Dashboard /wp-admin | 2,217 ▲29 | 5.88 ▲0.80 | 98.36 ▼10.53 | 85.71 ▲38.10 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.01 ▼0.04 | 33.13 ▼8.12 | 30.33 ▼6.46 |
Add New Post /wp-admin/post-new.php | 1,678 ▲142 | 22.47 ▼0.73 | 686.73 ▲70.46 | 54.88 ▲1.66 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.17 ▼0.05 | 96.13 ▼6.68 | 69.69 ▲24.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 take a closer look at the following
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/quran-live/admin/js/jscolor/index.php
- > /wp-content/plugins/quran-live/admin/quran-live-admin.php
- > /wp-content/plugins/quran-live/data/index.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/quran-live/template/template.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/quran-live/inc/quran_live_styles.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/quran-live/quran-live.php:18
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
quran-live/quran-live.php Passed 13 tests
The main file in "Quran Live Multilanguage" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
54 characters long description:
Quran live Multilanguage translated into 29 languages.
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
Good job! No executable or dangerous file extensions detected3,227 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 1 | 0 | 0 | 1,583 |
JavaScript | 3 | 168 | 44 | 1,022 |
PHP | 8 | 273 | 71 | 613 |
HTML | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 4 | 100.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
template/images/icon_quran.png | 1.60KB | 1.50KB | ▼ 6.63% |
icon_quranlive.png | 1.58KB | 1.49KB | ▼ 5.73% |
template/images/pause.png | 1.87KB | 1.81KB | ▼ 3.23% |
admin/js/jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |
template/images/icon_fullscreen.png | 1.76KB | 1.59KB | ▼ 9.71% |