Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.65ms] Passed 4 tests
Server-side resources used by Storipress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.31 ▲2.81 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.02 ▼2.67 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.17 ▲1.94 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 94.65 ▲2.36 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 33.43 ▲0.97 |
Export to Storipress /wp-admin/export.php?type=storipress&sp_nonce=348ffa56f8 | 3.42 | 36.91 |
Connect to Storipress /wp-admin/tools.php?page=connect_to_storipress | 3.36 | 40.53 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
storipress |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Storipress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲36 | 14.22 ▼0.06 | 1.78 ▼0.11 | 43.24 ▼2.69 |
Dashboard /wp-admin | 2,200 ▲20 | 5.55 ▼0.07 | 82.24 ▼15.07 | 37.39 ▼2.71 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.01 ▲0.03 | 39.14 ▲1.97 | 36.59 ▲4.34 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 22.98 ▼0.69 | 577.29 ▼92.16 | 52.29 ▼4.29 |
Media Library /wp-admin/upload.php | 1,408 ▲14 | 4.17 ▼0.02 | 95.70 ▼5.11 | 41.78 ▼3.19 |
Export to Storipress /wp-admin/export.php?type=storipress&sp_nonce=348ffa56f8 | 1,184 | 1.67 | 27.22 | 28.84 |
Connect to Storipress /wp-admin/tools.php?page=connect_to_storipress | 820 | 1.96 | 24.73 | 36.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- storipress
- widget_recent-comments
- widget_theysaidso_widget
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Storipress\\Storipress\\Errors\\Exception' not found in wp-content/plugins/storipress/src/errors/class-invalid-payload-exception.php:17
- > PHP Fatal error
Uncaught Error: Class 'Storipress\\Storipress\\Triggers\\Trigger' not found in wp-content/plugins/storipress/src/triggers/class-disconnect.php:20
- > PHP Fatal error
Uncaught Error: Class 'Storipress\\Storipress\\Errors\\Exception' not found in wp-content/plugins/storipress/src/errors/class-internal-error-exception.php:17
- > PHP Fatal error
Uncaught Error: Class 'Storipress\\Storipress\\Triggers\\Trigger' not found in wp-content/plugins/storipress/src/triggers/class-connect.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/storipress/templates/page.php:12
- > PHP Fatal error
Uncaught Error: Class 'Storipress' not found in wp-content/plugins/storipress/templates/menu/home.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Contributors: Plugin contributors not specified
storipress/storipress.php Passed 13 tests
The entry point to "Storipress" version 0.0.12 is a PHP file that has certain tags in its header comment area
53 characters long description:
Experience the full power of Storipress on WordPress.
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 plugin662 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 216 | 541 | 633 |
HTML | 1 | 3 | 0 | 29 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 6.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 3 | 27.27% |
▷ Concrete classes | 8 | 72.73% |
▷ Final classes | 8 | 100.00% |
Methods | 47 | |
▷ Static methods | 1 | 2.13% |
▷ Public methods | 36 | 76.60% |
▷ Protected methods | 11 | 23.40% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 25.85KB | 8.53KB | ▼ 67.01% |
assets/banner-1544x500.png | 5.27KB | 2.33KB | ▼ 55.78% |