Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼142.00ms] Passed 4 tests
This is a short check of server-side resources used by thikr allah
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 30.49 ▼1.63 |
Dashboard /wp-admin | 3.07 ▲0.01 | 41.02 ▲0.41 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 45.54 ▼0.07 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 92.79 ▼566.69 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 36.67 ▲6.58 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by thikr allah
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,685 ▲89 | 16.15 ▲0.54 | 8.29 ▲0.91 | 47.32 ▼1.88 |
Dashboard /wp-admin | 2,973 ▲39 | 5.90 ▼0.05 | 137.31 ▼0.78 | 116.24 ▲1.53 |
Posts /wp-admin/edit.php | 2,745 ▲6 | 2.70 ▼0.13 | 63.69 ▼2.32 | 103.34 ▲11.52 |
Add New Post /wp-admin/post-new.php | 1,599 ▼73 | 18.49 ▼0.33 | 362.45 ▼7.22 | 112.92 ▼3.10 |
Media Library /wp-admin/upload.php | 1,816 ▲6 | 5.04 ▲0.04 | 150.96 ▼8.74 | 124.38 ▲13.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 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/thikr-allah/thikr-allah.php:38
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Screenshot 1), #2 (Screenshot 2)
thikr-allah/thikr-allah.php 92% from 13 tests
The entry point to "thikr allah" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 189 characters long)
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
There were no executable files found in this plugin49 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 18 | 49 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 55.72KB | 25.64KB | ▼ 53.99% |
screenshot-1.png | 6.57KB | 3.79KB | ▼ 42.22% |