Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.46ms] Passed 4 tests
Analyzing server-side resources used by Resource Not Found Placeholder | Prevent redirections due to not foud resources
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.03 ▲0.01 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.75 ▼2.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.32 ▼0.60 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.40 ▼6.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.25 ▲1.72 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Illegal file modification detected: 1 file (3.19KB) outside of "wp-content/plugins/resource-not-found-placeholder/" and "wp-content/uploads/"
- (new file) wp-content/mu-plugins/0-resource-not-found-placeholder.php
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Resource Not Found Placeholder | Prevent redirections due to not foud resources
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.07 | 1.65 ▲0.03 | 37.60 ▼0.97 |
Dashboard /wp-admin | 2,206 ▲20 | 4.84 ▼1.06 | 107.53 ▼5.31 | 42.74 ▲1.75 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.02 ▼0.12 | 40.53 ▲6.86 | 36.01 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.50 ▼4.67 | 644.88 ▼26.30 | 50.69 ▼1.06 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.06 | 95.52 ▲1.08 | 41.99 ▼3.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 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
3 plugin tags: performance, 404, redirections
resource-not-found-placeholder/resource-not-found-placeholder.php 92% from 13 tests
The main PHP script in "Resource Not Found Placeholder | Prevent redirections due to not foud resources" version 0.0.3 is automatically included on every request by WordPress
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin213 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 17 | 45 | 213 |
PHP code Passed 2 tests
A brief analysis 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.52 |
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 | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG files were detected