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.38MB] [CPU: ▼10.18ms] Passed 4 tests
Analyzing server-side resources used by Stionic Core - Create Mobile app for WordPress news
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 40.91 ▲0.78 |
Dashboard /wp-admin | 3.64 ▲0.34 | 57.68 ▲6.63 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 51.63 ▲4.05 |
Add New Post /wp-admin/post-new.php | 3.46 ▼2.43 | 39.34 ▼52.07 |
Media Library /wp-admin/upload.php | 3.50 ▲0.28 | 42.08 ▲6.54 |
OneSignal /wp-admin/admin.php?page=stionic-onesignal | 3.51 | 36.91 |
Categories /wp-admin/admin.php?page=stionic-categories | 3.49 | 30.94 |
Media /wp-admin/admin.php?page=stionic-media | 3.48 | 37.96 |
DeepLinks /wp-admin/admin.php?page=stionic-deeplinks | 3.48 | 37.95 |
General /wp-admin/admin.php?page=stionic | 3.56 | 34.81 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 53 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
stionic_media |
widget_theysaidso_widget |
stionic_settings |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Stionic Core - Create Mobile app for WordPress news
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲170 | 14.63 ▲0.05 | 1.94 ▼0.18 | 44.32 ▼0.68 |
Dashboard /wp-admin | 2,337 ▲134 | 4.88 ▼1.03 | 116.38 ▼2.75 | 44.33 ▼2.78 |
Posts /wp-admin/edit.php | 2,234 ▲137 | 2.03 ▼0.02 | 36.28 ▼0.87 | 35.18 ▼3.22 |
Add New Post /wp-admin/post-new.php | 6,339 ▲4,805 | 18.83 ▼4.49 | 886.86 ▲195.71 | 64.35 ▲10.72 |
Media Library /wp-admin/upload.php | 1,516 ▲122 | 4.23 ▲0.02 | 101.28 ▲1.24 | 45.67 ▼1.46 |
OneSignal /wp-admin/admin.php?page=stionic-onesignal | 1,032 | 2.03 | 27.43 | 30.34 |
Categories /wp-admin/admin.php?page=stionic-categories | 986 | 2.09 | 29.10 | 28.36 |
Media /wp-admin/admin.php?page=stionic-media | 987 | 2.07 | 26.77 | 27.97 |
DeepLinks /wp-admin/admin.php?page=stionic-deeplinks | 1,036 | 2.05 | 24.36 | 27.17 |
General /wp-admin/admin.php?page=stionic | 1,214 | 2.22 | 24.56 | 27.81 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- stionic_media
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- stionic_settings
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=stionic-deeplinks
- > Notice in wp-content/plugins/stionic-core/admin/templates/deeplinks.php+79
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=stionic-media
- > Notice in wp-content/plugins/stionic-core/admin/templates/media.php+62
Undefined index: disable_featured
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+69
Undefined index: maintenance
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+77
Undefined index: android_banner
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+78
Undefined index: ios_banner
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+80
Undefined index: android_interstitial
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+81
Undefined index: ios_interstitial
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+83
Undefined index: android_rewards
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+84
Undefined index: ios_rewards
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+101
Undefined index: ads_default_reward
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+107
Undefined index: google_analytics
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+112
Undefined index: package
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+113
Undefined index: apple_id
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+144
Undefined index: version
- > GET request to /wp-admin/admin.php?page=stionic
- > Notice in wp-content/plugins/stionic-core/admin/templates/general.php+145
Undefined index: version_ios
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/stionic-core/admin/class-stionic-walker.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: mobile app wordpress, api, create app, wordpress news app
stionic-core/stionic-core.php Passed 13 tests
The entry point to "Stionic Core - Create Mobile app for WordPress news" version 1.0.28 is a PHP file that has certain tags in its header comment area
48 characters long description:
Extending the REST API for WordPress application
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2,055 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 43 | 136 | 1,803 |
JavaScript | 4 | 0 | 1 | 134 |
CSS | 3 | 0 | 0 | 118 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 4.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 3 | 4.55% |
▷ Public methods | 66 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
11 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-edge.png | 6.63KB | 3.03KB | ▼ 54.28% |
assets/img/icon-firefox.png | 7.33KB | 3.32KB | ▼ 54.64% |
assets/img/icon-netscape.png | 5.94KB | 3.02KB | ▼ 49.18% |
assets/img/icon-ucbrowser.png | 7.13KB | 3.74KB | ▼ 47.49% |
assets/img/icon-miuibrowser.png | 0.97KB | 1.20KB | 0.00% |