Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼319.30ms] Passed 4 tests
Server-side resources used by AppyHi - Convert your website into a mobile app
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 53.00 ▲5.61 |
Dashboard /wp-admin | 3.42 ▲0.01 | 33.35 ▼0.42 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.31 ▼5.34 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 105.17 ▼1,261.87 |
Media Library /wp-admin/upload.php | 3.30 ▼0.00 | 22.71 ▼9.57 |
Server storage [IO: ▲5.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 55 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for AppyHi - Convert your website into a mobile app
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,916 ▲172 | 16.21 ▲0.59 | 8.28 ▲1.59 | 3.22 ▲0.97 |
Dashboard /wp-admin | 2,904 ▲49 | 6.10 ▼0.04 | 118.02 ▼13.90 | 245.12 ▲88.18 |
Posts /wp-admin/edit.php | 2,706 ▲21 | 3.23 ▼0.01 | 66.60 ▼0.37 | 140.26 ▼8.16 |
Add New Post /wp-admin/post-new.php | 1,671 ▼89 | 15.80 ▼5.81 | 396.90 ▼3.04 | 193.80 ▼20.89 |
Media Library /wp-admin/upload.php | 1,713 ▲15 | 5.54 ▲0.03 | 149.40 ▲9.90 | 222.09 ▼27.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/appyhi-convert-your-site-to-mobile-app/includes/dashboard.php:1
- > 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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: monetize, cheap, playstore, convert, app...
appyhi-convert-your-site-to-mobile-app/appyhi.php 85% from 13 tests
The main PHP file in "AppyHi - Convert your website into a mobile app" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("appyhi-convert-your-site-to-mobile-app.php" instead of "appyhi.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected10,744 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 7,349 |
CSS | 6 | 559 | 38 | 3,072 |
PHP | 2 | 63 | 22 | 286 |
JavaScript | 5 | 1 | 11 | 37 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 6 | |
▷ Named functions | 6 | 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
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pstk.png | 5.70KB | 5.36KB | ▼ 5.98% |
images/fav.png | 12.84KB | 5.87KB | ▼ 54.25% |
images/logo.png | 10.79KB | 5.03KB | ▼ 53.38% |