Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.66MB] [CPU: ▼13.58ms] Passed 4 tests
A check of server-side resources used by WP Four Corners
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 47.48 ▲7.44 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.84 ▼5.40 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 56.64 ▲6.64 |
Add New Post /wp-admin/post-new.php | 3.20 ▼2.69 | 42.86 ▼56.21 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.54 ▲0.67 |
Server storage [IO: ▲6.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Four Corners: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲193 | 14.58 ▲0.23 | 4.58 ▲3.01 | 41.02 ▲1.52 |
Dashboard /wp-admin | 2,332 ▲155 | 6.14 ▲0.55 | 117.84 ▲25.35 | 42.37 ▲1.12 |
Posts /wp-admin/edit.php | 2,257 ▲157 | 3.35 ▲1.39 | 53.36 ▲17.76 | 35.99 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.29 ▼0.39 | 583.70 ▼80.03 | 35.33 ▼31.84 |
Media Library /wp-admin/upload.php | 1,399 ▼4 | 4.17 ▼0.12 | 79.03 ▼22.19 | 43.15 ▼1.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/four-corners/wp-authograph.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: fourcorners, metadata, authograph, images
four-corners/wp-authograph.php 92% from 13 tests
Analyzing the main PHP file in "WP Four Corners" version 1.3
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("four-corners.php" instead of "wp-authograph.php")
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
No dangerous file extensions were detected685 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 1 | 294 |
JavaScript | 3 | 29 | 16 | 175 |
HTML | 1 | 23 | 17 | 99 |
PHP | 1 | 26 | 13 | 79 |
Markdown | 1 | 34 | 0 | 37 |
CSS | 1 | 0 | 5 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
37 PNG files occupy 5.31MB with 2.96MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
editor/img/allp.png | 1.53KB | 0.63KB | ▼ 58.73% |
tutorials/uploadbtn.png | 131.48KB | 41.04KB | ▼ 68.78% |
tutorials/selectmedia.png | 96.42KB | 19.25KB | ▼ 80.03% |
editor/img/media.png | 0.60KB | 0.58KB | ▼ 3.90% |
tutorials/metadata.png | 257.56KB | 85.19KB | ▼ 66.92% |