Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▲5.41ms] Passed 4 tests
A check of server-side resources used by Islamic Content Archive
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 47.08 ▲2.34 |
Dashboard /wp-admin | 3.59 ▲0.29 | 77.18 ▲21.92 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 54.07 ▲2.78 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 130.89 ▲12.91 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 39.36 ▲3.60 |
Islamic Content Archive /wp-admin/options-general.php?page=islamic_content_archive | 3.40 | 36.86 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 53 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_ica_categories |
New WordPress options |
---|
can_compress_scripts |
ica_source |
ica_version |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
ica_cronjobtime |
widget_recent-comments |
widget_recent-posts |
ica_language |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Islamic Content Archive
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 13.57 ▼0.81 | 1.68 ▼0.09 | 41.28 ▼0.28 |
Dashboard /wp-admin | 2,229 ▲22 | 4.88 ▼0.04 | 109.52 ▼1.88 | 48.58 ▲1.11 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.03 ▲0.03 | 39.13 ▲1.22 | 37.54 ▲4.05 |
Add New Post /wp-admin/post-new.php | 1,535 ▼6 | 21.21 ▲2.97 | 661.43 ▲43.70 | 56.54 ▲4.73 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.33 ▲0.13 | 106.84 ▲2.60 | 47.44 ▲2.26 |
Islamic Content Archive /wp-admin/options-general.php?page=islamic_content_archive | 928 | 2.05 | 24.36 | 26.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_ica_categories
- The uninstall procedure has failed, leaving 10 options in the database
- ica_version
- widget_recent-comments
- ica_language
- ica_source
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- ica_cronjobtime
- widget_recent-posts
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
Please fix the following
- 24× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/islamic-content-archive/lib/app_controlers.php:14
- > PHP Fatal error
Uncaught Error: Class 'app_helpers' not found in wp-content/plugins/islamic-content-archive/lib/html_helper.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/islamic-content-archive/views/layout/default.php:1
- > PHP Warning
include_once(ICA_PATHICA_LIBICA_DSfunction.php): failed to open stream: No such file or directory in wp-content/plugins/islamic-content-archive/load.php on line 3
- > PHP Warning
Use of undefined constant ICA_DS - assumed 'ICA_DS' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive/load.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function ica_cat_icon() in wp-content/plugins/islamic-content-archive/views/options.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function ica_cat_icon() in wp-content/plugins/islamic-content-archive/views/language.php:6
- > PHP Fatal error
Uncaught Error: Class 'app_controlers' not found in wp-content/plugins/islamic-content-archive/controllers/options_controller.php:5
- > PHP Warning
include_once(): Failed opening 'ICA_PATHICA_LIBICA_DSpluginlifeciclye.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/islamic-content-archive/load.php on line 2
- > PHP Warning
Use of undefined constant ICA_LIB - assumed 'ICA_LIB' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive/load.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
Please fix the following attributes:
- Screenshots: Screenshot #1 (Show Categoreis) image required
islamic-content-archive/index.php 85% from 13 tests
"Islamic Content Archive" version 2.3.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("islamic-content-archive.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 260 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,436 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 274 | 181 | 1,388 |
CSS | 1 | 3 | 0 | 48 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 1 | 2.04% |
▷ Public methods | 39 | 79.59% |
▷ Protected methods | 4 | 8.16% |
▷ Private methods | 6 | 12.24% |
Functions | 26 | |
▷ Named functions | 25 | 96.15% |
▷ Anonymous functions | 1 | 3.85% |
Constants | 21 | |
▷ Global constants | 21 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
27 PNG files occupy 0.29MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
style/images/flags/tel.png | 0.63KB | 1.03KB | 0.00% |
style/images/logo/new_muslims.png | 23.43KB | 7.78KB | ▼ 66.78% |
style/images/flags/rom.png | 0.28KB | 0.31KB | 0.00% |
style/images/logo/prayer_in_islam.png | 30.22KB | 9.02KB | ▼ 70.14% |
style/images/logo/learning-quran.png | 16.63KB | 6.10KB | ▼ 63.32% |