Benchmarks
Plugin footprint Passed 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.07MB] [CPU: ▼269.45ms] Passed 4 tests
Analyzing server-side resources used by autometa
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.07 | 36.72 ▲3.61 |
Dashboard /wp-admin | 3.13 ▲0.07 | 48.29 ▲5.81 |
Posts /wp-admin/edit.php | 3.24 ▲0.13 | 42.98 ▲4.76 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 96.49 ▼1,078.50 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 29.90 ▼7.67 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for autometa
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,674 ▲68 | 15.87 ▲0.23 | 8.74 ▲0.57 | 48.57 ▲1.16 |
Dashboard /wp-admin | 2,950 ▲97 | 5.91 ▲0.06 | 151.88 ▲18.01 | 103.16 ▼5.45 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.68 ▼0.01 | 80.40 ▲11.99 | 90.50 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,853 ▲265 | 19.09 ▼2.22 | 361.18 ▲86.50 | 108.66 ▲3.74 |
Media Library /wp-admin/upload.php | 1,775 ▲3 | 4.99 ▼0.04 | 154.66 ▲3.92 | 107.49 ▼7.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/autometa/autometa.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
autometa/autometa.php Passed 13 tests
The entry point to "autometa" version 2.2 is a PHP file that has certain tags in its header comment area
135 characters long description:
It reproduces metadata information and it generates taxonomy clouds and comment and search forms to publications simply via shortcodes.
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 plugin404 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 61 | 217 | 404 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 62.50% |
▷ Protected methods | 3 | 37.50% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 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 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin