Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.39ms] Passed 4 tests
An overview of server-side resources used by Allow PHP Execute
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.22 ▼1.24 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.23 ▼17.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.60 ▼6.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.26 ▼12.11 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.04 ▲7.04 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Allow PHP Execute
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.25 ▼0.10 | 1.78 ▲0.15 | 45.23 ▼0.55 |
Dashboard /wp-admin | 2,199 ▲28 | 5.65 ▼0.02 | 91.02 ▼1.74 | 40.69 ▼6.80 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.03 ▲0.01 | 37.65 ▲4.68 | 35.34 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.07 ▼5.04 | 666.74 ▲9.73 | 78.60 ▲27.00 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.21 ▲0.03 | 101.73 ▼4.31 | 51.40 ▲6.36 |
Allow PHP Execute /wp-admin/allow-php-execute.php | 26 | 0.42 | 0.09 | 15.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/allow-php-execute/allow-php-execute.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/allow-php-execute.php
- > Network (severe)
wp-admin/allow-php-execute.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: post, content, sidebar, widget, page...
allow-php-execute/allow-php-execute.php Passed 13 tests
The primary PHP file in "Allow PHP Execute" version 1.0 is used by WordPress to initiate all plugin functionality
68 characters long description:
Executes PHP code on WordPress post ,page and on default Text Widget
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 plugin90 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 1 | 8 | 90 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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
5 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 1.66KB | 1.08KB | ▼ 34.49% |
screenshot-1.png | 10.74KB | 6.36KB | ▼ 40.74% |
screenshot-4.png | 8.27KB | 5.85KB | ▼ 29.27% |
screenshot-2.png | 13.46KB | 8.84KB | ▼ 34.32% |
screenshot-3.png | 8.73KB | 4.57KB | ▼ 47.66% |