Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼11.09ms] Passed 4 tests
A check of server-side resources used by ATWI Interview Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 34.95 ▼9.07 |
Dashboard /wp-admin | 3.35 ▲0.01 | 45.33 ▼17.10 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.65 ▼2.63 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 82.10 ▼15.56 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.42 ▲2.31 |
ATWI Interview /wp-admin/options-general.php?page=atwiinterviewoptions | 3.21 | 29.73 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
ATWI Interview Plugin: 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,910 ▲164 | 13.49 ▼1.19 | 8.18 ▲6.32 | 39.83 ▼3.90 |
Dashboard /wp-admin | 2,213 ▲28 | 4.88 ▼0.00 | 98.19 ▼7.20 | 40.11 ▼3.83 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▼0.01 | 40.25 ▼1.57 | 34.85 ▼0.81 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.24 ▲0.23 | 677.70 ▲14.03 | 56.53 ▲10.20 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▲0.03 | 93.12 ▼2.51 | 41.22 ▲0.84 |
ATWI Interview /wp-admin/options-general.php?page=atwiinterviewoptions | 847 | 2.03 | 22.02 | 24.84 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=atwiinterviewoptions
- > Notice in wp-content/plugins/atwi-interview/atwi-interview.php+122
Undefined variable: plugin_url
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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/atwi-interview/atwi-interview.php:19
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=atwiinterviewoptions
- > Network (severe)
css/atwi-style.css?ver=6.3.1 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (This is the input page (using the button in TinyMCE Advanced).), #2 (This is the result on post page.), #3 (This is the setting page. You can configure text color, font weight and text align.)
atwi-interview/atwi-interview.php Passed 13 tests
"ATWI Interview Plugin" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
31 characters long description:
ATWI Interview formatter plugin
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
Success! There were no dangerous files found in this plugin333 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 58 | 11 | 172 |
HTML | 1 | 15 | 0 | 92 |
CSS | 1 | 9 | 0 | 49 |
JavaScript | 1 | 8 | 1 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.19MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 55.66KB | 23.81KB | ▼ 57.23% |
assets/screenshot-2.png | 75.35KB | 39.12KB | ▼ 48.08% |
assets/screenshot-1.png | 63.01KB | 27.83KB | ▼ 55.83% |
img/atwi_interview.png | 0.78KB | 0.70KB | ▼ 9.90% |