Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.73MB] [CPU: ▲7.08ms] Passed 4 tests
Server-side resources used by Quran Translations
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.48 ▲5.01 | 51.16 ▲9.07 |
Dashboard /wp-admin | 8.50 ▲5.19 | 64.52 ▲7.70 |
Posts /wp-admin/edit.php | 8.50 ▲5.14 | 63.05 ▲9.77 |
Add New Post /wp-admin/post-new.php | 9.45 ▲3.56 | 101.96 ▲1.77 |
Media Library /wp-admin/upload.php | 8.50 ▲5.27 | 48.86 ▲12.53 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 17 new options
New WordPress options |
---|
show_playlist_tunein |
show_playlist_QuickTime |
db_upgraded |
can_compress_scripts |
show_playlist_podcast |
playlist_title |
show_playlist_txt |
quran_playlist_form |
show_playlist_realplayer |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Quran Translations: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲126 | 13.50 ▼0.50 | 8.89 ▲7.22 | 41.16 ▼4.66 |
Dashboard /wp-admin | 2,213 ▲33 | 5.56 ▼0.07 | 86.56 ▼1.79 | 93.05 ▲49.26 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 1.98 ▼0.01 | 37.80 ▲0.09 | 35.09 ▼0.94 |
Add New Post /wp-admin/post-new.php | 1,558 ▲31 | 23.13 ▲0.13 | 681.76 ▼6.22 | 55.00 ▼8.09 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.15 ▼0.02 | 96.32 ▼22.89 | 74.45 ▲27.30 |
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: 17 options
- show_playlist_Winamp
- show_playlist_pdf
- show_playlist_txt
- show_playlist_podcast
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- show_playlist_realplayer
- show_playlist_QuickTime
- show_playlist_tunein
- ...
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
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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/quran-translations-by-edc/playlist.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: A description for screenshot #2 is missing in quran-translations-by-edc/assets to your readme.txt
quran-translations-by-edc/playlist.php 85% from 13 tests
Analyzing the main PHP file in "Quran Translations" version 1.6
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 143 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("quran-translations-by-edc.php" instead of "playlist.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin7,081 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 102 | 35 | 7,017 |
CSS | 1 | 18 | 5 | 36 |
JavaScript | 1 | 3 | 0 | 28 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
15 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Winamp.png | 2.22KB | 1.02KB | ▼ 53.89% |
images/logo.png | 7.03KB | 2.54KB | ▼ 63.96% |
images/rss.png | 1.43KB | 1.17KB | ▼ 18.49% |
images/Download.png | 1.49KB | 0.52KB | ▼ 65.36% |
screenshot-1.png | 19.45KB | 9.43KB | ▼ 51.50% |