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.00MB] [CPU: ▼149.95ms] Passed 4 tests
Analyzing server-side resources used by SimpleShift Companion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 43.94 ▲18.39 |
Dashboard /wp-admin | 3.07 ▲0.01 | 52.15 ▲6.45 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 47.23 ▼5.59 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 91.70 ▼599.41 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 36.69 ▼1.23 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for SimpleShift Companion
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,721 ▲149 | 15.86 ▲0.41 | 10.30 ▼0.21 | 51.22 ▼3.51 |
Dashboard /wp-admin | 2,991 ▲57 | 5.85 ▼0.10 | 145.12 ▼24.39 | 116.09 ▼5.79 |
Posts /wp-admin/edit.php | 2,760 ▲21 | 2.70 ▲0.01 | 69.32 ▼4.74 | 88.23 ▼12.88 |
Add New Post /wp-admin/post-new.php | 1,696 ▲13 | 18.81 ▲0.02 | 410.50 ▲4.80 | 121.99 ▲7.31 |
Media Library /wp-admin/upload.php | 1,826 ▲19 | 5.02 ▼0.00 | 165.68 ▲3.00 | 117.49 ▼12.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_sidebar() in wp-content/plugins/simpleshift-companion/inc/widgets.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: No valid plugin tags found
simpleshift-companion/simpleshift-companion.php Passed 13 tests
The primary PHP file in "SimpleShift Companion" version 1.0.0 is used by WordPress to initiate all plugin functionality
67 characters long description:
Add many additional features and settings to the SimpleShift theme.
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
Success! There were no dangerous files found in this plugin905 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 137 | 78 | 905 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 15.25 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected