Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.43ms] Passed 4 tests
An overview of server-side resources used by BrandApp
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.06 | 48.23 ▲5.19 |
Dashboard /wp-admin | 3.68 ▲0.12 | 54.78 ▼2.00 |
Posts /wp-admin/edit.php | 3.73 ▲0.05 | 54.08 ▼5.77 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.07 | 95.08 ▼9.32 |
Media Library /wp-admin/upload.php | 3.54 ▲0.05 | 43.44 ▼4.62 |
About /wp-admin/admin.php?page=brandapp-about | 3.51 | 34.44 |
BrandApp /wp-admin/admin.php?page=brandapp | 3.51 | 41.59 |
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: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BrandApp
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲63 | 14.16 ▼0.49 | 1.78 ▼0.16 | 41.32 ▼2.62 |
Dashboard /wp-admin | 2,243 ▲66 | 5.66 ▼0.04 | 92.06 ▲2.91 | 74.61 ▲29.20 |
Posts /wp-admin/edit.php | 2,167 ▲64 | 2.06 ▲0.09 | 42.85 ▼5.37 | 33.89 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,587 ▲42 | 23.30 ▲0.03 | 714.79 ▲62.99 | 60.54 ▲3.47 |
Media Library /wp-admin/upload.php | 1,486 ▲83 | 4.28 ▲0.05 | 106.30 ▼4.18 | 84.84 ▲36.70 |
About /wp-admin/admin.php?page=brandapp-about | 1,701 | 10.24 | 332.90 | 99.54 |
BrandApp /wp-admin/admin.php?page=brandapp | 1,202 | 6.74 | 192.30 | 46.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=brandapp-about
- > Console-api (warning) in unknown
https://static.hotjar.com/c/hotjar-1534216.js?sv=7 2:6897 "Hotjar not launching due to suspicious userAgent:" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/117.0.5938.149 Safari/537.36"
- > GET request to /wp-admin/admin.php?page=brandapp
- > Console-api (warning) in unknown
https://static.hotjar.com/c/hotjar-1534216.js?sv=6 2:6897 "Hotjar not launching due to suspicious userAgent:" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/117.0.5938.149 Safari/537.36"
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: graphics, photos, graphic design, business, media library...
brandapp/brandapp.php 92% from 13 tests
The main PHP script in "BrandApp" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 220 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
Everything looks great! No dangerous files found in this plugin512 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 92 | 361 | 200 |
JavaScript | 2 | 62 | 34 | 199 |
SVG | 1 | 0 | 0 | 66 |
CSS | 1 | 6 | 0 | 47 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 1.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 2 | 9.09% |
▷ Public methods | 19 | 86.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 13.64% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.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