Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.56MB] [CPU: ▼18.00ms] Passed 4 tests
This is a short check of server-side resources used by Stionic Users - WordPress Users API
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 42.62 ▲0.08 |
Dashboard /wp-admin | 3.42 ▲0.11 | 50.28 ▼3.28 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 45.14 ▼4.94 |
Add New Post /wp-admin/post-new.php | 3.30 ▼2.59 | 35.88 ▼63.84 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.50 ▲1.29 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 88 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Stionic Users - WordPress Users API
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.22 ▼0.06 | 1.77 ▲0.02 | 47.61 ▲2.44 |
Dashboard /wp-admin | 2,195 ▲27 | 5.55 ▼0.02 | 82.64 ▼14.63 | 38.73 ▼9.91 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.04 | 35.13 ▼6.14 | 34.62 ▼2.80 |
Add New Post /wp-admin/post-new.php | 1,535 ▼2 | 18.28 ▼0.22 | 626.41 ▲1.68 | 66.81 ▼3.52 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.14 ▼0.12 | 94.33 ▼2.23 | 42.21 ▼1.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 43× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\Http\\RequestBodyInterface' not found in wp-content/plugins/stionic-users/endpoints/Facebook/Http/RequestBodyMultipart.php:38
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookSDKException' not found in wp-content/plugins/stionic-users/endpoints/Facebook/Exceptions/FacebookClientException.php:32
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\PersistentData\\PersistentDataInterface' not found in wp-content/plugins/stionic-users/endpoints/Facebook/PersistentData/FacebookMemoryPersistentDataHandler.php:32
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/stionic-users/endpoints/Facebook/GraphNodes/GraphCoverPhoto.php:32
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/stionic-users/endpoints/Facebook/GraphNodes/GraphObject.php:35
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/stionic-users/endpoints/Facebook/GraphNodes/GraphGroup.php:32
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\Collection' not found in wp-content/plugins/stionic-users/endpoints/Facebook/GraphNodes/GraphEdge.php:36
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\HttpClients\\FacebookHttpClientInterface' not found in wp-content/plugins/stionic-users/endpoints/Facebook/HttpClients/FacebookStreamHttpClient.php:30
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/stionic-users/endpoints/Facebook/GraphNodes/GraphSessionInfo.php:32
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/stionic-users/endpoints/Facebook/GraphNodes/GraphPicture.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
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, wordpress users, create app, api
stionic-users/stionic-users.php Passed 13 tests
Analyzing the main PHP file in "Stionic Users - WordPress Users API" version 1.0.2
35 characters long description:
Users API for Wordpress application
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin4,584 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 82 | 1,184 | 5,667 | 4,584 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 5.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 1.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 74 | |
▷ Abstract classes | 1 | 1.35% |
▷ Concrete classes | 73 | 98.65% |
▷ Final classes | 0 | 0.00% |
Methods | 526 | |
▷ Static methods | 17 | 3.23% |
▷ Public methods | 482 | 91.63% |
▷ Protected methods | 26 | 4.94% |
▷ Private methods | 18 | 3.42% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 22 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 22 | 100.00% |
▷ Public constants | 22 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin