Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼287.30ms] Passed 4 tests
An overview of server-side resources used by WP Scrive by Webbstart
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.38 | 55.26 ▲7.07 |
Dashboard /wp-admin | 3.91 ▲0.50 | 37.08 ▲3.16 |
Posts /wp-admin/edit.php | 4.14 ▲0.50 | 41.93 ▲5.76 |
Add New Post /wp-admin/post-new.php | 7.38 ▲0.41 | 94.93 ▼1,161.60 |
Media Library /wp-admin/upload.php | 3.70 ▲0.41 | 26.20 ▲3.48 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 4.07 | 25.97 |
Server storage [IO: ▲2.98MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 167 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_accounts |
fs_gdpr |
fs_active_plugins |
fs_debug_mode |
Browser metrics Passed 4 tests
Checking browser requirements for WP Scrive by Webbstart
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,857 ▲103 | 15.94 ▲0.57 | 5.87 ▲0.42 | 3.01 ▲0.46 |
Dashboard /wp-admin | 2,954 ▲93 | 6.16 ▲0.11 | 118.22 ▼12.25 | 169.54 ▲10.74 |
Posts /wp-admin/edit.php | 2,750 ▲56 | 3.24 ▼0.00 | 62.11 ▼1.07 | 149.59 ▲11.93 |
Add New Post /wp-admin/post-new.php | 1,782 ▲122 | 21.34 ▲3.73 | 425.43 ▲14.09 | 160.31 ▲7.52 |
Media Library /wp-admin/upload.php | 1,757 ▲59 | 5.53 ▲0.01 | 149.88 ▲1.77 | 206.74 ▲22.02 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,450 | 2.74 | 54.80 | 109.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/wp-scrive/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 4 options in the database
- fs_active_plugins
- fs_debug_mode
- fs_gdpr
- fs_accounts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: scrive, webbstart, scrive integration
wp-scrive/wp-scrive.php 92% from 13 tests
The principal PHP file in "WP Scrive by Webbstart" v. 1.2.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin30,824 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 112 | 7,309 | 16,288 | 30,616 |
JavaScript | 3 | 34 | 59 | 194 |
CSS | 11 | 0 | 0 | 14 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 81.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 2 | 4.00% |
▷ Concrete classes | 48 | 96.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,159 | |
▷ Static methods | 174 | 15.01% |
▷ Public methods | 819 | 70.66% |
▷ Protected methods | 15 | 1.29% |
▷ Private methods | 325 | 28.04% |
Functions | 94 | |
▷ Named functions | 94 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 125 | |
▷ Global constants | 100 | 80.00% |
▷ Class constants | 25 | 20.00% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected