Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▲1.77ms] Passed 4 tests
Server-side resources used by Islamic Archive For New Muslims
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 40.43 ▲0.11 |
Dashboard /wp-admin | 3.55 ▲0.24 | 72.00 ▲23.68 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.49 ▲2.11 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 89.95 ▲2.32 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.40 ▲2.52 |
Islamic Content Archive New Muslims /wp-admin/options-general.php?page=islamic_content_archive_new_muslims | 3.36 | 31.19 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 44 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_opicnm_categories |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
opicnm_cronjobtime |
opicnm_version |
widget_recent-posts |
opicnm_language |
widget_recent-comments |
opicnm_source |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Islamic Archive For New Muslims
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.61 ▼0.77 | 1.67 ▼0.16 | 40.38 ▼3.39 |
Dashboard /wp-admin | 2,211 ▲26 | 5.99 ▲0.11 | 107.78 ▼9.14 | 44.44 ▲0.56 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.01 ▼0.03 | 41.27 ▲4.17 | 35.89 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,518 ▼15 | 17.84 ▼3.22 | 640.08 ▼107.76 | 50.70 ▼6.59 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.31 ▲0.10 | 96.00 ▲1.35 | 43.03 ▼1.32 |
Islamic Content Archive New Muslims /wp-admin/options-general.php?page=islamic_content_archive_new_muslims | 822 | 2.03 | 24.73 | 45.42 |
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
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_opicnm_categories
- Zombie WordPress options detected upon uninstall: 10 options
- db_upgraded
- opicnm_version
- opicnm_source
- widget_recent-comments
- opicnm_language
- opicnm_cronjobtime
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- 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
Good news, no errors were detected
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
Please take a closer look at the following
- 25× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'app_nm_helpers' not found in wp-content/plugins/islamic-archive-for-new-muslims/lib/html_nm_helper.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function opicnm_icon_logo() in wp-content/plugins/islamic-archive-for-new-muslims/views/options.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/islamic-archive-for-new-muslims/lib/opic_nm_shortcode.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/islamic-archive-for-new-muslims/views/layout/default.php:1
- > PHP Warning
Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in wp-content/plugins/islamic-archive-for-new-muslims/load.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'html_nm_helper' not found in wp-content/plugins/islamic-archive-for-new-muslims/views/categories.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/islamic-archive-for-new-muslims/lib/nm_pluginlifeciclye.php:28
- > PHP Fatal error
Uncaught Error: Class 'app_nm_controlers' not found in wp-content/plugins/islamic-archive-for-new-muslims/controllers/options_nm_controller.php:5
- > PHP Fatal error
Uncaught Error: Class 'app_nm_controlers' not found in wp-content/plugins/islamic-archive-for-new-muslims/controllers/main_nm_controller.php:5
- > PHP Warning
include_once(OPICNM_PLUGIN_PATHLIBDSnm_function.php): failed to open stream: No such file or directory in wp-content/plugins/islamic-archive-for-new-muslims/load.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #2 is missing in islamic-archive-for-new-muslims/assets to your readme.txt
islamic-archive-for-new-muslims/index.php 92% from 13 tests
"Islamic Archive For New Muslims" version 1.3.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("islamic-archive-for-new-muslims.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,175 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 251 | 116 | 1,127 |
CSS | 1 | 2 | 0 | 48 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.34 |
▷ 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 | 25 | |
▷ Named functions | 24 | 96.00% |
▷ Anonymous functions | 1 | 4.00% |
Constants | 22 | |
▷ Global constants | 22 | 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 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
style/images/logo/new_muslims.png | 23.43KB | 7.78KB | ▼ 66.78% |
style/images/flags/hin.png | 0.63KB | 1.03KB | 0.00% |
style/images/icons/options_.png | 3.29KB | 3.21KB | ▼ 2.26% |
style/images/flags/nep.png | 0.38KB | 0.40KB | 0.00% |
style/images/flags/tam.png | 0.63KB | 1.03KB | 0.00% |