Benchmarks
Plugin footprint 83% 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.18MB] [CPU: ▲2.56ms] Passed 4 tests
Analyzing server-side resources used by Islamic Content Archive For Dawah Skills
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 50.66 ▲9.39 |
Dashboard /wp-admin | 3.54 ▲0.23 | 85.56 ▲37.07 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.28 ▲0.70 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 96.62 ▲0.26 |
Media Library /wp-admin/upload.php | 3.39 ▲0.15 | 37.53 ▼0.11 |
Islamic Content Archive For Dawah Skills /wp-admin/options-general.php?page=islamic_content_archive_for_dawah_skills | 3.36 | 33.29 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 55 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_opicds_categories |
New WordPress options |
---|
opicds_cronjobtime |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
opicds_version |
db_upgraded |
widget_recent-comments |
opicds_language |
opicds_source |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Islamic Content Archive For Dawah Skills
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.19 ▼1.43 | 2.23 ▲0.39 | 43.99 ▼1.43 |
Dashboard /wp-admin | 2,208 ▲20 | 5.84 ▼0.01 | 100.42 ▼10.37 | 42.17 ▼0.30 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.00 ▼0.04 | 35.66 ▼5.00 | 31.69 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,543 ▲23 | 18.31 ▼4.93 | 609.14 ▼59.65 | 56.35 ▼15.34 |
Media Library /wp-admin/upload.php | 1,384 ▼4 | 4.27 ▲0.09 | 99.00 ▼1.62 | 42.33 ▼9.27 |
Islamic Content Archive For Dawah Skills /wp-admin/options-general.php?page=islamic_content_archive_for_dawah_skills | 818 | 2.05 | 25.53 | 33.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_theysaidso_widget
- opicds_language
- opicds_version
- theysaidso_admin_options
- opicds_cronjobtime
- db_upgraded
- can_compress_scripts
- opicds_source
- widget_recent-comments
- widget_recent-posts
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 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
Please fix the following
- 25× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant OPICDS_PLUGIN_PATH - assumed 'OPICDS_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive-for-dawah-skills/load.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'html_ds_helper' not found in wp-content/plugins/islamic-content-archive-for-dawah-skills/views/categories.php:2
- > PHP Warning
include_once(OPICDS_PLUGIN_PATHDSLIBDSDSds_function.php): failed to open stream: No such file or directory in wp-content/plugins/islamic-content-archive-for-dawah-skills/load.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'app_ds_controlers' not found in wp-content/plugins/islamic-content-archive-for-dawah-skills/controllers/options_ds_controller.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/islamic-content-archive-for-dawah-skills/views/layout/default.php:1
- > PHP Warning
include_once(): Failed opening 'OPICDS_PLUGIN_PATHDSLIBDSDSds_function.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/islamic-content-archive-for-dawah-skills/load.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'app_ds_controlers' not found in wp-content/plugins/islamic-content-archive-for-dawah-skills/controllers/categories_ds_controller.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function fun_ds_loadlang() in wp-content/plugins/islamic-content-archive-for-dawah-skills/load.php:4
- > PHP Warning
include_once(OPICDS_PLUGIN_PATHDSLIBDSDSds_pluginlifeciclye.php): failed to open stream: No such file or directory in wp-content/plugins/islamic-content-archive-for-dawah-skills/load.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/islamic-content-archive-for-dawah-skills/lib/ds_pluginlifeciclye.php:29
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 27 tag instead of maximum 10
islamic-content-archive-for-dawah-skills/index.php 85% from 13 tests
"Islamic Content Archive For Dawah Skills" version 1.3.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("islamic-content-archive-for-dawah-skills.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected8,878 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 9 | 23 | 7,417 |
PHP | 23 | 258 | 98 | 1,161 |
SVG | 1 | 0 | 0 | 288 |
JavaScript | 1 | 0 | 1 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 13.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 51 | |
▷ Static methods | 2 | 3.92% |
▷ Public methods | 41 | 80.39% |
▷ Protected methods | 4 | 7.84% |
▷ Private methods | 6 | 11.76% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 100.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
19 compressed PNG files occupy 0.08MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
style/images/flags/rom.png | 0.28KB | 0.31KB | 0.00% |
style/images/flags/spa.png | 0.52KB | 0.88KB | 0.00% |
screenshot-1.png | 19.64KB | 7.76KB | ▼ 60.48% |
style/images/flags/eng.png | 0.40KB | 0.43KB | 0.00% |
style/images/flags/tam.png | 0.63KB | 1.03KB | 0.00% |