Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.17MB] [CPU: ▼154.19ms] Passed 4 tests
Analyzing server-side resources used by Author Box After Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 31.30 ▼3.94 |
Dashboard /wp-admin | 3.10 ▲0.04 | 45.01 ▼3.51 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 46.83 ▼0.75 |
Add New Post /wp-admin/post-new.php | 4.69 ▼0.75 | 59.92 ▼608.55 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 34.58 ▲2.58 |
Author Box After Posts /wp-admin/options-general.php?page=abap-plugin_options | 3.01 | 27.55 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Author Box After Posts: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲114 | 16.32 ▲0.47 | 11.47 ▲1.02 | 52.70 ▼2.03 |
Dashboard /wp-admin | 2,978 ▲48 | 5.88 ▼0.07 | 144.52 ▼24.03 | 107.93 ▼12.81 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.70 ▲0.00 | 67.84 ▼4.28 | 99.97 ▲0.57 |
Add New Post /wp-admin/post-new.php | 1,686 ▲82 | 18.78 ▼0.08 | 397.43 ▲1.93 | 114.06 ▼4.35 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.04 ▲0.02 | 159.51 ▼0.54 | 121.51 ▼6.88 |
Author Box After Posts /wp-admin/options-general.php?page=abap-plugin_options | 1,086 | 2.08 | 59.43 | 78.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=abap-plugin_options
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=abap-plugin_options
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/author-box-after-posts/index.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/author-box-after-posts/options.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #2 is required in author-box-after-posts/assets to your readme.txt
author-box-after-posts/index.php 92% from 13 tests
The main PHP script in "Author Box After Posts" version 1.6 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("author-box-after-posts.php" instead of "index.php")
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 plugin197 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 59 | 43 | 196 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin