Benchmarks
Plugin footprint Passed 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.08MB] [CPU: ▼294.35ms] Passed 4 tests
A check of server-side resources used by WP Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.16 | 56.65 ▲7.01 |
Dashboard /wp-admin | 3.52 ▲0.11 | 35.34 ▲1.75 |
Posts /wp-admin/edit.php | 3.75 ▲0.11 | 40.58 ▲3.32 |
Add New Post /wp-admin/post-new.php | 6.99 ▲0.01 | 92.26 ▼1,184.65 |
Media Library /wp-admin/upload.php | 3.40 ▲0.10 | 26.13 ▲2.17 |
WP Integration /wp-admin/options-general.php?page=wpcon_plugin | 3.38 | 24.17 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wpcon_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,786 ▲42 | 15.67 ▼0.02 | 5.78 ▼0.52 | 2.93 ▲0.47 |
Dashboard /wp-admin | 2,883 ▲22 | 6.14 ▲0.00 | 117.57 ▼18.39 | 159.32 ▼6.30 |
Posts /wp-admin/edit.php | 2,696 ▲2 | 3.25 ▲0.00 | 63.06 ▼0.43 | 137.59 ▼3.11 |
Add New Post /wp-admin/post-new.php | 1,761 ▲106 | 21.34 ▲1.10 | 464.27 ▲14.34 | 155.94 ▼4.29 |
Media Library /wp-admin/upload.php | 1,697 ▼1 | 5.51 ▼0.01 | 150.94 ▲16.00 | 200.95 ▲14.24 |
WP Integration /wp-admin/options-general.php?page=wpcon_plugin | 1,385 | 2.68 | 53.93 | 124.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-integration/wp-integration.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
wp-integration/wp-integration.php Passed 13 tests
This is the main PHP file of "WP Integration" version 1.6.00, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Integrates Wordpress to any application with just one simple click.
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
Success! There were no dangerous files found in this plugin654 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 96 | 32 | 654 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 41 | 100.00% |
▷ Public methods | 36 | 87.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.20% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 7 | 77.78% |
▷ Class constants | 2 | 22.22% |
▷ Public constants | 2 | 100.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
PNG images were not found in this plugin