Benchmarks
Plugin footprint 83% 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.07MB] [CPU: ▼0.71ms] Passed 4 tests
Server-side resources used by Crowdaa Sync
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 42.64 ▲1.10 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.28 ▼6.08 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 55.48 ▲2.45 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 101.10 ▲7.60 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.82 ▼0.30 |
Server storage [IO: ▲1.29MB] [DB: ▲0.31MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 212 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
crowdaa_sync_articles_wp_to_api_from |
crowdaa_sync_articles_api_to_wp_from |
widget_recent-comments |
widget_recent-posts |
crowdaa_last_version |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Crowdaa Sync
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲134 | 13.33 ▼0.95 | 9.19 ▲7.48 | 42.02 ▼9.10 |
Dashboard /wp-admin | 2,218 ▲41 | 5.54 ▼0.11 | 84.45 ▼14.38 | 38.01 ▼5.96 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.00 ▲0.01 | 40.47 ▲5.36 | 38.31 ▲3.85 |
Add New Post /wp-admin/post-new.php | 6,376 ▲4,850 | 18.67 ▼4.24 | 869.49 ▲183.83 | 70.07 ▲13.39 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.31 ▲0.17 | 102.15 ▲0.25 | 44.52 ▼0.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- crowdaa_sync_articles_wp_to_api_from
- widget_recent-posts
- crowdaa_sync_articles_api_to_wp_from
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- crowdaa_last_version
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 58× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/crowdaa-sync/vendor/guzzlehttp/promises/src/TaskQueue.php:14
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/crowdaa-sync/vendor/guzzlehttp/promises/src/EachPromise.php:9
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/crowdaa-sync/vendor/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/crowdaa-sync/vendor/guzzlehttp/psr7/src/LimitStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/crowdaa-sync/vendor/guzzlehttp/psr7/src/FnStream.php:16
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/crowdaa-sync/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:8
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\ClientInterface' not found in wp-content/plugins/crowdaa-sync/vendor/guzzlehttp/guzzle/src/Client.php:17
- > PHP Fatal error
Uncaught Error: Class 'Crowdaa_Sync_Admin_Display' not found in wp-content/plugins/crowdaa-sync/admin/partials/crowdaa-sync-admin-display.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/crowdaa-sync/vendor/guzzlehttp/psr7/src/AppendStream.php:14
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/crowdaa-sync/vendor/guzzlehttp/promises/src/Promise.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 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
8 plugin tags: mobile, application, api, crowdaa, synchronization...
crowdaa-sync/crowdaa-sync.php 85% from 13 tests
Analyzing the main PHP file in "Crowdaa Sync" version 1.7.1
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.5.5" instead of "5.5")
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.3" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected20,899 lines of code in 190 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 151 | 3,023 | 7,177 | 15,289 |
Markdown | 16 | 1,314 | 0 | 3,868 |
JSON | 16 | 0 | 0 | 1,072 |
JavaScript | 2 | 58 | 13 | 382 |
CSS | 2 | 45 | 1 | 249 |
SVG | 1 | 0 | 0 | 23 |
make | 1 | 4 | 0 | 9 |
YAML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 16.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 229.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 26 | |
Traits | 3 | |
Classes | 111 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 111 | 100.00% |
▷ Final classes | 35 | 31.53% |
Methods | 974 | |
▷ Static methods | 232 | 23.82% |
▷ Public methods | 792 | 81.31% |
▷ Protected methods | 4 | 0.41% |
▷ Private methods | 178 | 18.28% |
Functions | 137 | |
▷ Named functions | 37 | 27.01% |
▷ Anonymous functions | 100 | 72.99% |
Constants | 73 | |
▷ Global constants | 6 | 8.22% |
▷ Class constants | 67 | 91.78% |
▷ Public constants | 55 | 82.09% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin