Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲0.15ms] Passed 4 tests
A check of server-side resources used by Islamic Content Archive For Muslim e-Library
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 45.69 ▲1.74 |
Dashboard /wp-admin | 3.52 ▲0.22 | 77.09 ▲27.99 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 50.17 ▲1.85 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 86.64 ▼5.60 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 38.13 ▲2.62 |
Islamic Content Archive For Muslim e-Library /wp-admin/options-general.php?page=ica_ml | 3.33 | 33.31 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 45 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_ica_ml_categories |
New WordPress options |
---|
widget_theysaidso_widget |
ica_ml_cronjobtime |
can_compress_scripts |
db_upgraded |
ica_ml_language |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
ica_ml_source |
ica_ml_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Islamic Content Archive For Muslim e-Library
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲48 | 13.19 ▼1.13 | 1.68 ▼0.55 | 39.21 ▼10.11 |
Dashboard /wp-admin | 2,205 ▲14 | 5.83 ▼0.05 | 99.32 ▼14.91 | 35.76 ▼8.29 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.06 ▲0.01 | 37.34 ▼3.24 | 33.15 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,532 ▲18 | 21.04 ▲3.54 | 680.41 ▼2.47 | 53.27 ▼3.21 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.18 ▼0.08 | 93.59 ▼4.51 | 40.61 ▼5.41 |
Islamic Content Archive For Muslim e-Library /wp-admin/options-general.php?page=ica_ml | 818 | 2.06 | 25.00 | 23.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_ica_ml_categories
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-posts
- ica_ml_cronjobtime
- ica_ml_version
- ica_ml_source
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- ica_ml_language
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'app_ica_ml_helpers' not found in wp-content/plugins/islamic-content-archive-for-muslim-e-library/lib/html_ica_ml_helper.php:5
- > PHP Fatal error
Uncaught Error: Class 'app_ica_ml_controlers' not found in wp-content/plugins/islamic-content-archive-for-muslim-e-library/controllers/categories_ica_ml_controller.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function fun_ica_ml_loadlang() in wp-content/plugins/islamic-content-archive-for-muslim-e-library/load.php:4
- > PHP Warning
Use of undefined constant ICA_ML_LIB - assumed 'ICA_ML_LIB' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive-for-muslim-e-library/load.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function ica_ml_icon_logo() in wp-content/plugins/islamic-content-archive-for-muslim-e-library/views/options.php:6
- > PHP Fatal error
Uncaught Error: Class 'app_ica_ml_models' not found in wp-content/plugins/islamic-content-archive-for-muslim-e-library/lib/app_ica_ml_cronjob.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/islamic-content-archive-for-muslim-e-library/lib/ica_ml_pluginlifeciclye.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/islamic-content-archive-for-muslim-e-library/lib/ica_ml_cronjob.php:14
- > PHP Fatal error
Uncaught Error: Class 'app_ica_ml_controlers' not found in wp-content/plugins/islamic-content-archive-for-muslim-e-library/controllers/main_ica_ml_controller.php:5
- > PHP Warning
include_once(ICA_ML_PATHICA_ML_LIBICA_ML_DSica_ml_pluginlifeciclye.php): failed to open stream: No such file or directory in wp-content/plugins/islamic-content-archive-for-muslim-e-library/load.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #2, #3 in islamic-content-archive-for-muslim-e-library/assets to your readme.txt
islamic-content-archive-for-muslim-e-library/index.php 85% from 13 tests
The main PHP script in "Islamic Content Archive For Muslim e-Library" version 1.2 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("islamic-content-archive-for-muslim-e-library.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 175 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,072 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 230 | 91 | 1,024 |
CSS | 1 | 2 | 0 | 48 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 37 | 86.05% |
▷ Protected methods | 4 | 9.30% |
▷ Private methods | 2 | 4.65% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 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
20 compressed PNG files occupy 0.21MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
style/images/flags/eng.png | 0.40KB | 0.43KB | 0.00% |
style/images/flags/rom.png | 0.28KB | 0.31KB | 0.00% |
style/images/flags/ben.png | 0.55KB | 0.64KB | 0.00% |
style/images/flags/nep.png | 0.38KB | 0.40KB | 0.00% |
style/images/flags/tag.png | 0.67KB | 1.08KB | 0.00% |