Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.16ms] Passed 4 tests
Server-side resources used by Integrartion for Nummuspay
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.71 ▼8.88 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.75 ▼0.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.58 ▲3.69 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.16 ▼14.48 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.99 ▼1.23 |
Integration for Nummuspay /wp-admin/options-general.php?page=integration-nummuspay | 3.21 | 33.49 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
_CHECKOUT_PAGE_ID_FROM_NUMMUSPAY |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Integrartion for Nummuspay
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 13.97 ▼0.39 | 5.48 ▲3.76 | 40.76 ▼5.66 |
Dashboard /wp-admin | 2,220 ▲32 | 5.90 ▲1.01 | 101.29 ▼15.44 | 39.20 ▼8.83 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.00 ▼0.03 | 40.55 ▼1.15 | 34.83 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,527 ▲8 | 23.31 ▲0.06 | 674.74 ▼13.75 | 56.24 ▼10.79 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.21 ▼0.06 | 102.77 ▼14.81 | 44.28 ▼6.30 |
Integration for Nummuspay /wp-admin/options-general.php?page=integration-nummuspay | 782 | 2.02 | 24.59 | 26.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- _CHECKOUT_PAGE_ID_FROM_NUMMUSPAY
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% 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 everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/integration-for-nummuspay/admin/partials/integration-nummuspay-admin-display.php
- > /wp-content/plugins/integration-for-nummuspay/public/partials/integration-nummuspay-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/integration-for-nummuspay/includes/class-integration-nummuspay-methods.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6 in integration-for-nummuspay/assets to your readme.txt
integration-for-nummuspay/integration-nummuspay.php 85% from 13 tests
This is the main PHP file of "Integrartion for Nummuspay" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("integration-for-nummuspay.php" instead of "integration-nummuspay.php")
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
Good job! No executable or dangerous file extensions detected262 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 127 | 542 | 255 |
JavaScript | 3 | 4 | 54 | 7 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin