Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.93MB] [CPU: ▼35.97ms] Passed 4 tests
This is a short check of server-side resources used by Mobile APP Dashboard Custom Fields Json API
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 43.09 ▼2.03 |
Dashboard /wp-admin | 3.02 ▼0.29 | 26.55 ▼21.32 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 24.94 ▼26.76 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 27.34 ▼76.95 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 19.35 ▼18.85 |
Add New /wp-admin/post-new.php?post_type=custom_json_api | 3.02 | 23.60 |
Custom Fields API /wp-admin/edit.php?post_type=custom_json_api | 3.02 | 24.41 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mobile APP Dashboard Custom Fields Json API
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.35 ▲0.06 | 1.89 ▲0.07 | 44.11 ▼0.95 |
Dashboard /wp-admin | 2,230 ▲53 | 5.54 ▼0.09 | 89.65 ▼6.05 | 40.36 ▼5.16 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.01 ▲0.03 | 40.13 ▲4.43 | 35.49 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 22.85 ▼0.16 | 623.46 ▼77.64 | 60.81 ▼0.51 |
Media Library /wp-admin/upload.php | 1,435 ▲38 | 4.27 ▲0.01 | 96.12 ▼12.33 | 41.73 ▼8.05 |
Add New /wp-admin/post-new.php?post_type=custom_json_api | 1,443 | 2.52 | 47.77 | 48.61 |
APP Configurator /wp-admin/options-general.php?page=APP Configurator | 927 | 1.70 | 27.18 | 29.66 |
Custom Fields API /wp-admin/edit.php?post_type=custom_json_api | 1,105 | 1.96 | 31.33 | 32.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=custom_json_api
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/mobile-app-dashboard-custom-fields-json-api/include/custom_json_api_single.php:25
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/mobile-app-dashboard-custom-fields-json-api/include/custom_json_api_single.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Donate link: Please fix this invalid URI: "#"
mobile-app-dashboard-custom-fields-json-api/appconfigurator.php 85% from 13 tests
Analyzing the main PHP file in "Mobile APP Dashboard Custom Fields Json API" version 1.1
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("mobile-app-dashboard-custom-fields-json-api.php" instead of "appconfigurator.php")
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
No dangerous file extensions were detected333 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 12 | 21 | 190 |
CSS | 1 | 1 | 1 | 118 |
JavaScript | 1 | 1 | 1 | 25 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/mail.png | 6.32KB | 4.25KB | ▼ 32.84% |
img/web.png | 10.10KB | 6.15KB | ▼ 39.16% |
img/calendar.png | 7.59KB | 4.95KB | ▼ 34.77% |
img/text.png | 2.11KB | 2.05KB | ▼ 2.64% |
img/trash.png | 1.50KB | 1.55KB | 0.00% |