Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.10MB] [CPU: ▼17.99ms] Passed 4 tests
Server-side resources used by Islamic Library
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 38.07 ▼24.77 |
Dashboard /wp-admin | 3.54 ▲0.23 | 49.65 ▼2.37 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 46.92 ▲2.50 |
Add New Post /wp-admin/post-new.php | 4.83 ▼1.06 | 50.94 ▼40.69 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 34.48 ▼4.13 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 38 new files
Database: no new tables, 23 new options
New WordPress options |
---|
widget_theysaidso_widget |
islamic_library_hidden_image |
islamic_library_hidden_info_full_description |
islamic_library_hidden_info_translated_into |
islamic_library_hidden_info_date |
islamic_library_hidden_info_language |
islamic_library_hidden_info_attachments |
islamic_library_view_breadcrumb |
widget_recent-posts |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Islamic Library
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲107 | 13.28 ▼1.11 | 2.12 ▼0.26 | 45.82 ▼2.90 |
Dashboard /wp-admin | 2,209 ▲18 | 5.06 ▲0.15 | 115.29 ▲9.06 | 90.65 ▲44.42 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.01 ▲0.02 | 34.74 ▼2.53 | 33.48 ▼5.25 |
Add New Post /wp-admin/post-new.php | 1,530 ▼3 | 17.75 ▼5.71 | 715.22 ▲48.46 | 52.66 ▼0.30 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.14 ▼0.04 | 104.16 ▼6.33 | 43.84 ▼2.50 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 23 options
- islamic_library_hidden_info_translated_into
- widget_theysaidso_widget
- islamic_library_hidden_info_attachments
- islamic_library_hidden_info_prepared
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- islamic_library_hidden_info_full_description
- islamic_library_hidden_translated_into
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/islamic-library/admin.php:36
- > 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 errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 16 tag instead of maximum 10
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5 in islamic-library/assets to your readme.txt
islamic-library/admin.php 85% from 13 tests
The main file in "Islamic Library" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("islamic-library.php" instead of "admin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 172 characters long)
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
Everything looks great! No dangerous files found in this plugin1,002 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 110 | 45 | 847 |
CSS | 1 | 12 | 5 | 155 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 16 | |
▷ Named functions | 16 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
33 compressed PNG files occupy 0.38MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/doc.png | 0.54KB | 0.57KB | 0.00% |
icons/fatwa.png | 2.07KB | 2.06KB | 0.47% |
icons/image.png | 0.62KB | 0.74KB | 0.00% |
icons/articles.png | 0.55KB | 0.16KB | ▼ 70.44% |
icons/youtube.png | 0.27KB | 0.28KB | 0.00% |