Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼156.23ms] Passed 4 tests
This is a short check of server-side resources used by Nepalify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 45.45 ▲23.53 |
Dashboard /wp-admin | 3.08 ▲0.03 | 44.58 ▼4.16 |
Posts /wp-admin/edit.php | 3.69 ▲0.58 | 56.09 ▲9.88 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 92.51 ▼633.12 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 34.34 ▲2.47 |
Server storage [IO: ▲0.01MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
category_children |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Nepalify
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲121 | 15.88 ▲0.33 | 8.06 ▼0.69 | 51.25 ▼4.97 |
Dashboard /wp-admin | 2,973 ▲39 | 5.91 ▼0.26 | 141.76 ▼15.05 | 121.78 ▲2.05 |
Posts /wp-admin/edit.php | 6,733 ▲3,994 | 2.44 ▼0.26 | 71.83 ▼2.26 | 102.77 ▲10.83 |
Add New Post /wp-admin/post-new.php | 1,591 ▼92 | 18.77 ▲0.04 | 385.46 ▼41.43 | 115.73 ▲5.09 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.00 ▼0.03 | 156.01 ▼0.24 | 119.68 ▼3.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 1 option
- category_children
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: zones, pbimal, nepal, districts, nepalify
nepalify/nepalify.php 92% from 13 tests
The main PHP script in "Nepalify" version 2.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 289 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin224 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 29 | 224 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin