Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.13ms] Passed 4 tests
Server-side resources used by Redirection HTTPS for Apache
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.88 ▼8.71 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.28 ▼8.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.42 ▲1.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.13 ▼18.30 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.41 ▼0.72 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- There were 1 file (0.96KB) illegally modified outside of "wp-content/plugins/redirection-https-for-apache/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Redirection HTTPS for Apache: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.70 ▼1.05 | 1.59 ▼0.39 | 44.50 ▼2.50 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▲0.98 | 104.53 ▼13.30 | 40.18 ▼7.80 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.00 | 39.69 ▲3.09 | 35.88 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.40 ▲0.59 | 664.69 ▲6.29 | 45.72 ▼7.92 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.14 ▼0.04 | 95.79 ▼2.22 | 41.39 ▼1.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
include_once(ABSPATH/wp-admin/includes/file.php): failed to open stream: No such file or directory in wp-content/plugins/redirection-https-for-apache/redirection-https-for-apache.php on line 14
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/redirection-https-for-apache/redirection-https-for-apache.php on line 17
- > PHP Warning
include_once(): Failed opening 'ABSPATH/wp-admin/includes/file.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/redirection-https-for-apache/redirection-https-for-apache.php on line 14
- > PHP Warning
include_once(ABSPATH/wp-admin/includes/misc.php): failed to open stream: No such file or directory in wp-content/plugins/redirection-https-for-apache/redirection-https-for-apache.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/redirection-https-for-apache/redirection-https-for-apache.php:79
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/redirection-https-for-apache/redirection-https-for-apache.php on line 14
- > PHP Warning
include_once(): Failed opening 'ABSPATH/wp-admin/includes/misc.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/redirection-https-for-apache/redirection-https-for-apache.php on line 17
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
1 plugin tags: http https apache
redirection-https-for-apache/redirection-https-for-apache.php Passed 13 tests
This is the main PHP file of "Redirection HTTPS for Apache" version 0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
45 characters long description:
Plugin para crear redireccion de HTTP a HTTPS
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
No dangerous file extensions were detected48 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 18 | 48 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin