Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.48ms] Passed 4 tests
Analyzing server-side resources used by Islamic Content Archive For Learn the Quran
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.30 ▲0.01 |
Dashboard /wp-admin | 3.41 ▲0.10 | 80.94 ▲29.61 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 47.08 ▲5.68 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.69 ▼18.36 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.01 ▼1.24 |
Islamic Content Archive For Learn the Quran /wp-admin/options-general.php?page=islamic_content_archive_for_learning_the_quran | 3.25 | 32.72 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 45 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_opicltq_categories |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
opicltq_source |
widget_theysaidso_widget |
db_upgraded |
opicltq_cronjobtime |
opicltq_language |
widget_recent-comments |
widget_recent-posts |
opicltq_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Islamic Content Archive For Learn the Quran
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.19 ▼0.07 | 2.06 ▲0.34 | 47.07 ▲2.92 |
Dashboard /wp-admin | 2,197 ▲20 | 5.64 ▲0.06 | 91.55 ▼10.25 | 42.09 ▼1.00 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 2.01 ▼0.01 | 37.28 ▼5.77 | 32.88 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,532 ▼3 | 23.04 ▼0.37 | 651.10 ▼25.72 | 67.40 ▲7.49 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.16 ▼0.04 | 98.84 ▼10.51 | 41.76 ▼10.26 |
Islamic Content Archive For Learn the Quran /wp-admin/options-general.php?page=islamic_content_archive_for_learning_the_quran | 878 | 2.14 | 24.72 | 26.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 10 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- opicltq_version
- opicltq_source
- widget_recent-posts
- db_upgraded
- opicltq_language
- can_compress_scripts
- opicltq_cronjobtime
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 25× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function opicltq_icon_logo() in wp-content/plugins/islamic-content-archive-for-learn-the-quran/views/language.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/islamic-content-archive-for-learn-the-quran/index.php:12
- > PHP Warning
include_once(): Failed opening 'OPICLTQ_PLUGIN_PATHLTQLIBLTQDSltq_pluginlifeciclye.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/islamic-content-archive-for-learn-the-quran/load.php on line 2
- > PHP Warning
include_once(OPICLTQ_PLUGIN_PATHLTQLIBLTQDSltq_function.php): failed to open stream: No such file or directory in wp-content/plugins/islamic-content-archive-for-learn-the-quran/load.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/islamic-content-archive-for-learn-the-quran/views/layout/default.php:1
- > PHP Warning
Use of undefined constant LTQLIB - assumed 'LTQLIB' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive-for-learn-the-quran/load.php on line 3
- > PHP Warning
Use of undefined constant LTQDS - assumed 'LTQDS' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive-for-learn-the-quran/load.php on line 3
- > PHP Warning
Use of undefined constant OPICLTQ_PLUGIN_PATH - assumed 'OPICLTQ_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-content-archive-for-learn-the-quran/load.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'html_ltq_helper' not found in wp-content/plugins/islamic-content-archive-for-learn-the-quran/views/categories.php:2
- > PHP Fatal error
Uncaught Error: Class 'app_ltq_controlers' not found in wp-content/plugins/islamic-content-archive-for-learn-the-quran/controllers/main_ltq_controller.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
islamic-content-archive-for-learn-the-quran/index.php 85% from 13 tests
Analyzing the main PHP file in "Islamic Content Archive For Learn the Quran" version 1.3
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-content-archive-for-learn-the-quran.php" instead of "index.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 258 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,063 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 248 | 92 | 1,003 |
CSS | 1 | 2 | 0 | 48 |
JavaScript | 1 | 0 | 1 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
19 PNG files occupy 0.13MB 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/rom.png | 0.28KB | 0.31KB | 0.00% |
style/images/icons/language.png | 6.49KB | 3.29KB | ▼ 49.38% |
style/images/icons/options_.png | 3.29KB | 3.21KB | ▼ 2.26% |
style/images/icons/options.png | 4.81KB | 2.97KB | ▼ 38.29% |
style/images/flags/rus.png | 0.17KB | 0.17KB | 0.00% |