Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼143.38ms] Passed 4 tests
An overview of server-side resources used by SEO Advanced Custom Fields Analyzer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 36.04 ▲2.18 |
Dashboard /wp-admin | 3.06 ▲0.01 | 48.27 ▲6.28 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 46.22 ▼3.42 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 97.99 ▼571.39 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 34.69 ▼0.90 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by SEO Advanced Custom Fields Analyzer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.78 ▼0.12 | 7.95 ▼0.49 | 49.59 ▼1.43 |
Dashboard /wp-admin | 2,970 ▲33 | 5.86 ▼0.10 | 150.94 ▲2.01 | 111.33 ▼1.58 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.70 ▼0.00 | 69.91 ▼4.46 | 98.00 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,498 ▼185 | 18.84 ▲0.11 | 392.68 ▼2.27 | 112.97 ▼1.53 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.01 | 160.58 ▼4.25 | 130.91 ▲9.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-advanced-custom-fields-analyzer/wp-seo-custom-fields.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
seo-advanced-custom-fields-analyzer/wp-seo-custom-fields.php 92% from 13 tests
Analyzing the main PHP file in "SEO Advanced Custom Fields Analyzer" version 1.0
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("seo-advanced-custom-fields-analyzer.php" instead of "wp-seo-custom-fields.php")
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
There were no executable files found in this plugin32 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 4 | 9 | 25 |
PHP | 1 | 2 | 8 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
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 | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin