Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.83ms] Passed 4 tests
Analyzing server-side resources used by Apparition!
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.04 ▼4.79 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.39 ▲1.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.72 ▲0.07 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.77 ▲0.15 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.30 ▲4.68 |
Apparition! /wp-admin/options-general.php?page=apparition | 3.23 | 31.47 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Apparition!
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲86 | 13.17 ▼1.52 | 1.66 ▲0.06 | 40.04 ▼9.27 |
Dashboard /wp-admin | 2,221 ▲33 | 4.86 ▼0.03 | 109.28 ▼4.58 | 38.18 ▼1.67 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.05 ▼0.00 | 39.89 ▼1.50 | 35.06 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,522 ▼11 | 17.67 ▼5.38 | 638.98 ▼13.17 | 58.60 ▼10.83 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.15 ▼0.06 | 97.42 ▼2.30 | 42.14 ▼1.23 |
Apparition! /wp-admin/options-general.php?page=apparition | 822 | 2.02 | 23.48 | 27.91 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
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 items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/apparition/functions.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/apparition/functions.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Screenshots: Screenshot #1 (Setting and Example. (세팅과 예시)) image missing
apparition/apparition.php Passed 13 tests
The entry point to "Apparition!" version 1.0 is a PHP file that has certain tags in its header comment area
23 characters long description:
Show Links at Admin-bar
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin122 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 33 | 10 | 118 |
CSS | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 5 | 41.67% |
▷ Protected methods | 1 | 8.33% |
▷ Private methods | 6 | 50.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 36.04KB | 11.66KB | ▼ 67.64% |