Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼1.45ms] Passed 4 tests
Analyzing server-side resources used by Islam for Christians Archive
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 46.20 ▲3.85 |
Dashboard /wp-admin | 3.54 ▲0.24 | 82.29 ▲30.88 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 50.40 ▼4.99 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 89.49 ▼9.65 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 40.05 ▲4.98 |
Islam for Christians Archive /wp-admin/options-general.php?page=islam_for_christians_archive | 3.36 | 35.79 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 45 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_opicifc_categories |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
opicifc_cronjobtime |
opicifc_language |
widget_recent-comments |
opicifc_source |
db_upgraded |
theysaidso_admin_options |
opicifc_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Islam for Christians Archive
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.72 ▲0.37 | 1.63 ▼0.15 | 43.17 ▲1.34 |
Dashboard /wp-admin | 2,203 ▲25 | 5.61 ▼0.12 | 85.75 ▼27.15 | 39.53 ▼6.01 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.99 ▼0.02 | 37.52 ▼2.86 | 35.05 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.03 ▼0.35 | 659.06 ▼34.59 | 55.70 ▲4.21 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.18 ▼0.02 | 103.81 ▲4.34 | 42.59 ▼2.92 |
Islam for Christians Archive /wp-admin/options-general.php?page=islam_for_christians_archive | 841 | 2.00 | 24.46 | 38.15 |
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
- Zombie tables were found after uninstall: 1 table
- wp_opicifc_categories
- Zombie WordPress options detected upon uninstall: 10 options
- db_upgraded
- widget_theysaidso_widget
- opicifc_source
- opicifc_language
- opicifc_cronjobtime
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- opicifc_version
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 25× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/islamic-archive-for-islam-for-christians/views/layout/default.php:1
- > PHP Warning
include_once(): Failed opening 'OPICIFC_PLUGIN_PATHIFCLIBIFCDSifc_pluginlifeciclye.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/islamic-archive-for-islam-for-christians/load.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function opicifc_icon_logo() in wp-content/plugins/islamic-archive-for-islam-for-christians/views/options.php:6
- > PHP Fatal error
Uncaught Error: Class 'app_ifc_controlers' not found in wp-content/plugins/islamic-archive-for-islam-for-christians/controllers/language_ifc_controller.php:5
- > PHP Warning
include_once(OPICIFC_PLUGIN_PATHIFCLIBIFCDSifc_function.php): failed to open stream: No such file or directory in wp-content/plugins/islamic-archive-for-islam-for-christians/load.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'app_ifc_controlers' not found in wp-content/plugins/islamic-archive-for-islam-for-christians/controllers/categories_ifc_controller.php:5
- > PHP Warning
Use of undefined constant IFCLIB - assumed 'IFCLIB' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-archive-for-islam-for-christians/load.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'html_ifc_helper' not found in wp-content/plugins/islamic-archive-for-islam-for-christians/views/categories.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/islamic-archive-for-islam-for-christians/lib/ifc_pluginlifeciclye.php:29
- > PHP Warning
Use of undefined constant IFCLIB - assumed 'IFCLIB' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-archive-for-islam-for-christians/load.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: A description for screenshot #2 is required in islamic-archive-for-islam-for-christians/assets to your readme.txt
- Tags: Too many tags (26 tag instead of maximum 10); only the first 5 tags are used in your directory listing
islamic-archive-for-islam-for-christians/index.php 92% from 13 tests
The main PHP file in "Islam for Christians Archive" ver. 1.3.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("islamic-archive-for-islam-for-christians.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin1,205 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 252 | 111 | 1,145 |
CSS | 1 | 2 | 0 | 48 |
JavaScript | 1 | 0 | 1 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.32 |
▷ 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 | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 40 | 80.00% |
▷ Protected methods | 4 | 8.00% |
▷ Private methods | 6 | 12.00% |
Functions | 24 | |
▷ Named functions | 24 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
19 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
style/images/flags/ara.png | 1.41KB | 0.93KB | ▼ 33.87% |
style/images/icons/language.png | 6.49KB | 3.29KB | ▼ 49.38% |
style/images/flags/rom.png | 0.28KB | 0.31KB | 0.00% |
style/images/flags/tag.png | 0.67KB | 1.08KB | 0.00% |
style/images/flags/spa.png | 0.52KB | 0.88KB | 0.00% |