Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/really-static/main.php+534
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.11ms] Passed 4 tests
This is a short check of server-side resources used by Really Static
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.32 ▼4.95 |
Dashboard /wp-admin | 3.31 ▲0.00 | 62.06 ▲7.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.51 ▼2.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.90 ▼6.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.22 ▲2.38 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Really Static
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▲0.05 | 1.66 ▼0.03 | 40.84 ▼6.26 |
Dashboard /wp-admin | 2,198 ▲24 | 5.59 ▼0.06 | 83.69 ▼22.05 | 40.77 ▼4.61 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.02 ▲0.02 | 34.59 ▼3.60 | 37.76 ▲2.84 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.61 ▲0.59 | 689.42 ▲1.43 | 57.35 ▲1.39 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.15 ▼0.03 | 101.24 ▼9.34 | 46.72 ▼1.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please fix the following
- 24× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined index: pos in wp-content/plugins/really-static/php/123.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/really-static/php/ftp.php:3
- > PHP Notice
Undefined index: strid2 in wp-content/plugins/really-static/php/configupdate.php on line 142
- > PHP Warning
Use of undefined constant WPLANG - assumed 'WPLANG' (this will throw an Error in a future version of PHP) in wp-content/plugins/really-static/php/multiadmin.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/really-static/php/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function RS_LOG() in wp-content/plugins/really-static/php/errorid.php:8
- > PHP Notice
Undefined variable: id in wp-content/plugins/really-static/php/errorid.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/really-static/rewrite.php:2
- > PHP Warning
require_once(Math/BigInteger.php): failed to open stream: No such file or directory in wp-content/plugins/really-static/php/sftp/SSH1.php on line 77
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/really-static/php/multiadmin.php:44
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 25 tag instead of maximum 10
- Plugin Name: You should set the name of your plugin on the first line (
=== really-static ===
)
really-static/main.php 92% from 13 tests
The main PHP script in "Really Static" version 0.31 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("really-static.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin13,501 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 2,978 | 6,061 | 11,519 |
PO File | 9 | 701 | 834 | 1,815 |
JavaScript | 2 | 10 | 22 | 165 |
HTML | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 80.57 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 325.00 |
Average method complexity | 4.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 303 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 303 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 236 | |
▷ Named functions | 236 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 109 | |
▷ Global constants | 109 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin