Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/azurecurve-series-index/azurecurve-series-index.php+46
Undefined variable: width
Server metrics [RAM: ▲0.09MB] [CPU: ▼10.40ms] Passed 4 tests
A check of server-side resources used by azurecurve Series Index
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.42 ▼0.01 |
Dashboard /wp-admin | 3.41 ▲0.06 | 47.96 ▼14.74 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 49.20 ▼1.57 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 87.26 ▼23.60 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 33.79 ▼1.67 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 3.30 | 33.06 |
Series Index /wp-admin/admin.php?page=azc-si | 3.30 | 33.00 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
azc_si_options |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
azurecurve Series Index: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲114 | 13.39 ▼1.26 | 8.49 ▲6.78 | 37.51 ▼3.89 |
Dashboard /wp-admin | 2,220 ▲43 | 5.61 ▼0.06 | 82.65 ▼5.70 | 75.02 ▲30.53 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 1.98 ▲0.03 | 35.37 ▼2.66 | 32.62 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 23.09 ▼0.00 | 743.14 ▲41.11 | 61.62 ▲11.80 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.18 ▼0.12 | 97.53 ▼2.37 | 73.31 ▲28.43 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 861 | 1.99 | 23.21 | 28.84 |
Series Index /wp-admin/admin.php?page=azc-si | 1,115 | 1.99 | 23.09 | 42.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-series-index/includes/menu.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-series-index/includes/menu.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: wordpress, series, series index, toggle, classicpress...
azurecurve-series-index/azurecurve-series-index.php 85% from 13 tests
The main PHP file in "azurecurve Series Index" ver. 2.2.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Please don't use more than 140 characters for the plugin description (currently 162 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin823 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 88 | 57 | 603 |
PO File | 1 | 33 | 33 | 137 |
CSS | 2 | 0 | 6 | 76 |
JavaScript | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plus.png | 0.09KB | 0.10KB | 0.00% |
images/minus.png | 0.08KB | 0.10KB | 0.00% |
images/Favicon-16x16.png | 0.40KB | 0.34KB | ▼ 14.81% |