Benchmarks
Plugin footprint 65% 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.83MB] [CPU: ▼36.56ms] Passed 4 tests
Analyzing server-side resources used by AW Schema
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 47.12 ▲2.48 |
Dashboard /wp-admin | 3.12 ▼0.22 | 27.42 ▼37.45 |
Posts /wp-admin/edit.php | 3.12 ▼0.23 | 25.46 ▼26.85 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.77 | 25.10 ▼69.28 |
Media Library /wp-admin/upload.php | 3.12 ▼0.11 | 28.58 ▼12.64 |
Business Schema /wp-admin/options-general.php?page=aw-schema | 3.12 | 25.36 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/aw-schema/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
AW Schema: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲176 | 15.04 ▲0.65 | 1.97 ▲0.17 | 44.06 ▲3.07 |
Dashboard /wp-admin | 2,366 ▲160 | 6.44 ▲0.43 | 134.95 ▲29.54 | 38.74 ▼5.25 |
Posts /wp-admin/edit.php | 2,268 ▲168 | 3.40 ▲1.40 | 54.19 ▲15.16 | 36.29 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 17.40 ▼0.26 | 657.27 ▲24.07 | 32.04 ▼24.73 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.16 ▼0.08 | 84.54 ▼23.80 | 48.16 ▲0.64 |
Business Schema /wp-admin/options-general.php?page=aw-schema | 1,364 | 3.00 | 48.04 | 29.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/aw-schema/admin-functions.php+69
Undefined variable: social_settings_section
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=aw-schema
- > Notice in wp-content/plugins/aw-schema/admin-functions.php+92
Undefined variable: social_settings_section
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aw-schema/admin-functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aw-schema/aw-schema.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== aw-schema ===
)
aw-schema/aw-schema.php 92% from 13 tests
"AW Schema" version 1.0.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin376 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 94 | 53 | 348 |
JavaScript | 1 | 3 | 3 | 16 |
CSS | 1 | 4 | 0 | 12 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 33 | |
▷ Named functions | 33 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin