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.08MB] [CPU: ▼1.07ms] Passed 4 tests
Server-side resources used by azurecurve Comment Validator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.77 ▼7.02 |
Dashboard /wp-admin | 3.39 ▲0.08 | 56.31 ▼0.54 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.87 ▲1.97 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 95.01 ▲1.32 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.07 ▲3.73 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 3.27 | 32.27 |
Comment Validator /wp-admin/admin.php?page=azc-cv | 3.27 | 33.48 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
azc_cv_options |
Browser metrics Passed 4 tests
An overview of browser requirements for azurecurve Comment Validator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲107 | 13.23 ▼1.23 | 5.13 ▲3.45 | 45.55 ▼3.60 |
Dashboard /wp-admin | 2,222 ▲34 | 5.83 ▲0.02 | 108.92 ▼9.51 | 72.02 ▲27.41 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.01 ▼0.03 | 33.26 ▼2.40 | 33.08 ▼4.73 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 23.11 ▼0.16 | 773.26 ▲77.02 | 63.20 ▲9.50 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.19 ▲0.03 | 101.88 ▼9.22 | 79.68 ▲35.50 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 847 | 2.02 | 24.63 | 27.70 |
Comment Validator /wp-admin/admin.php?page=azc-cv | 889 | 2.02 | 26.09 | 30.82 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-comment-validator/azurecurve-comment-validator.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: moderation, validation, comments
azurecurve-comment-validator/azurecurve-comment-validator.php 85% from 13 tests
This is the main PHP file of "azurecurve Comment Validator" version 2.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 154 characters long)
- 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
Success! There were no dangerous files found in this plugin458 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 46 | 442 |
CSS | 1 | 0 | 2 | 16 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
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 | 15 | |
▷ Named functions | 15 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Favicon-16x16.png | 0.40KB | 0.34KB | ▼ 14.81% |