Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.06ms] Passed 4 tests
A check of server-side resources used by azurecurve Page Index
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.65 ▼10.69 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.60 ▼5.70 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.49 ▼3.17 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.25 ▼4.68 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.14 ▲4.23 |
Page Index /wp-admin/admin.php?page=azc-pi | 3.25 | 33.65 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 3.28 | 30.46 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
azc_pi |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for azurecurve Page Index
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.28 ▼1.08 | 4.48 ▲2.54 | 45.71 ▲5.35 |
Dashboard /wp-admin | 2,219 ▲34 | 5.88 ▲0.05 | 99.99 ▼5.01 | 91.54 ▲52.19 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▲0.03 | 35.00 ▼1.04 | 34.68 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,692 ▲159 | 22.21 ▼0.78 | 737.65 ▲65.90 | 48.85 ▼5.81 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.23 ▲0.03 | 100.44 ▼13.87 | 75.56 ▲28.91 |
Page Index /wp-admin/admin.php?page=azc-pi | 953 | 2.02 | 30.04 | 27.87 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 850 | 2.02 | 24.78 | 27.22 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- azc_pi
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- 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
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=azc-pi
- > Notice in wp-content/plugins/azurecurve-page-index/azurecurve-page-index.php+152
Undefined index: width
- > GET request to /wp-admin/admin.php?page=azc-pi
- > Notice in wp-content/plugins/azurecurve-page-index/azurecurve-page-index.php+156
Undefined index: height
- > GET request to /wp-admin/admin.php?page=azc-pi
- > Notice in wp-content/plugins/azurecurve-page-index/azurecurve-page-index.php+160
Undefined index: lineheight
- > GET request to /wp-admin/admin.php?page=azc-pi
- > Notice in wp-content/plugins/azurecurve-page-index/azurecurve-page-index.php+164
Undefined index: margin
- > GET request to /wp-admin/admin.php?page=azc-pi
- > Notice in wp-content/plugins/azurecurve-page-index/azurecurve-page-index.php+168
Undefined index: padding
- > GET request to /wp-admin/admin.php?page=azc-pi
- > Notice in wp-content/plugins/azurecurve-page-index/azurecurve-page-index.php+172
Undefined index: textalign
- > GET request to /wp-admin/admin.php?page=azc-pi
- > Notice in wp-content/plugins/azurecurve-page-index/azurecurve-page-index.php+176
Undefined index: fontweight
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× 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/azurecurve-page-index/includes/menu.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-page-index/includes/menu.php:29
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Sample page index.)
azurecurve-page-index/azurecurve-page-index.php 77% from 13 tests
The main file in "azurecurve Page Index" v. 2.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 192 characters long)
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin494 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 77 | 49 | 466 |
CSS | 2 | 0 | 4 | 28 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 12 | |
▷ Named functions | 12 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 13.29KB | 8.10KB | ▼ 39.09% |
images/Favicon-16x16.png | 0.40KB | 0.34KB | ▼ 14.81% |