Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲0.88ms] Passed 4 tests
A check of server-side resources used by Islamic Content Archive For Truth Seeker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.29 ▲6.20 |
Dashboard /wp-admin | 3.41 ▲0.10 | 70.87 ▲23.85 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 52.38 ▲3.51 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.80 ▼11.20 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.22 ▲4.99 |
Islamic Content Archive For Truth Seeker /wp-admin/options-general.php?page=islamic_content_archive_for_truth_seeker | 3.25 | 30.28 |
Server storage [IO: ▲0.16MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 46 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_opicts_categories |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
opicts_language |
opicts_version |
db_upgraded |
theysaidso_admin_options |
opicts_cronjobtime |
opicts_source |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Islamic Content Archive For Truth Seeker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲34 | 13.22 ▼1.19 | 1.76 ▼0.12 | 44.18 ▲2.49 |
Dashboard /wp-admin | 2,211 ▲23 | 4.87 ▼1.04 | 105.65 ▼7.16 | 39.73 ▼4.65 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.00 | 43.26 ▲1.71 | 40.21 ▲6.10 |
Add New Post /wp-admin/post-new.php | 1,541 ▲24 | 18.08 ▲0.45 | 602.07 ▼90.20 | 59.06 ▲1.73 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.20 ▲0.01 | 93.68 ▼0.38 | 44.42 ▲1.04 |
Islamic Content Archive For Truth Seeker /wp-admin/options-general.php?page=islamic_content_archive_for_truth_seeker | 839 | 2.02 | 24.78 | 32.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_opicts_categories
- Zombie WordPress options detected upon uninstall: 10 options
- opicts_source
- widget_recent-comments
- opicts_language
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- opicts_cronjobtime
- theysaidso_admin_options
- opicts_version
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 no errors were found, this is by no means 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
The following issues need your attention
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/islamic-content-archive-for-truth-seeker/lib/opic_ts_shortcode.php:9
- > PHP Warning
include_once(OPICTS_PLUGIN_PATHTSLIBTSDSts_function.php): failed to open stream: No such file or directory in wp-content/plugins/islamic-content-archive-for-truth-seeker/load.php on line 3
- > PHP Warning
Use of undefined constant TSDS - assumed 'TSDS' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive-for-truth-seeker/load.php on line 2
- > PHP Warning
Use of undefined constant TSDS - assumed 'TSDS' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive-for-truth-seeker/load.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/islamic-content-archive-for-truth-seeker/index.php:12
- > PHP Warning
Use of undefined constant OPICTS_PLUGIN_PATH - assumed 'OPICTS_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive-for-truth-seeker/load.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/islamic-content-archive-for-truth-seeker/lib/opic_ts_cronjob.php:14
- > PHP Fatal error
Uncaught Error: Class 'app_ts_controlers' not found in wp-content/plugins/islamic-content-archive-for-truth-seeker/controllers/language_ts_controller.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/islamic-content-archive-for-truth-seeker/lib/ts_pluginlifeciclye.php:28
- > PHP Warning
Use of undefined constant OPICTS_PLUGIN_PATH - assumed 'OPICTS_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive-for-truth-seeker/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
There were no browser issues found
Optimizations
Plugin configuration 87% 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
These attributes need your attention:
- Screenshots: A description for screenshot #2 is required in islamic-content-archive-for-truth-seeker/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
islamic-content-archive-for-truth-seeker/index.php 85% from 13 tests
The principal PHP file in "Islamic Content Archive For Truth Seeker" v. 1.3.6 is loaded by WordPress automatically on each request
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-truth-seeker.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 154 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
There were no executable files found in this plugin1,211 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 266 | 110 | 1,151 |
CSS | 1 | 2 | 0 | 48 |
JavaScript | 1 | 0 | 1 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.50 |
▷ 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 | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 40 | 80.00% |
▷ Protected methods | 4 | 8.00% |
▷ Private methods | 6 | 12.00% |
Functions | 25 | |
▷ Named functions | 24 | 96.00% |
▷ Anonymous functions | 1 | 4.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.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
style/images/logo/truth_seeker.png | 22.05KB | 6.66KB | ▼ 69.80% |
style/images/flags/rom.png | 0.28KB | 0.31KB | 0.00% |
style/images/flags/tam.png | 0.63KB | 1.03KB | 0.00% |
screenshot-2.png | 41.67KB | 15.16KB | ▼ 63.61% |
style/images/flags/ben.png | 0.55KB | 0.64KB | 0.00% |