94% thikr-allah

Code Review | thikr allah

WordPress plugin thikr allah scored 94% from 54 tests.

About plugin

  • Plugin page: thikr-allah
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress version: 5.8.1
  • First release: Oct 8, 2015
  • Latest release: Oct 8, 2015
  • Number of updates: 8
  • Update frequency: every 1.4 days
  • Top authors: thewplearner (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 450 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0130.49 ▼1.63
Dashboard /wp-admin3.07 ▲0.0141.02 ▲0.41
Posts /wp-admin/edit.php3.12 ▲0.0145.54 ▼0.07
Add New Post /wp-admin/post-new.php5.42 ▼0.0192.79 ▼566.69
Media Library /wp-admin/upload.php3.01 ▲0.0136.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,685 ▲8916.15 ▲0.548.29 ▲0.9147.32 ▼1.88
Dashboard /wp-admin2,973 ▲395.90 ▼0.05137.31 ▼0.78116.24 ▲1.53
Posts /wp-admin/edit.php2,745 ▲62.70 ▼0.1363.69 ▼2.32103.34 ▲11.52
Add New Post /wp-admin/post-new.php1,599 ▼7318.49 ▼0.33362.45 ▼7.22112.92 ▼3.10
Media Library /wp-admin/upload.php1,816 ▲65.04 ▲0.04150.96 ▼8.74124.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

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)
The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code
PHP101849

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 code0.11
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
screenshot-2.png55.72KB25.64KB▼ 53.99%
screenshot-1.png6.57KB3.79KB▼ 42.22%