Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.82MB] [CPU: ▼314.92ms] Passed 4 tests
This is a short check of server-side resources used by ABG Rich Pins
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.17 | 59.91 ▲0.23 |
Dashboard /wp-admin | 3.53 ▲0.12 | 36.42 ▼1.19 |
Posts /wp-admin/edit.php | 3.76 ▲0.12 | 46.20 ▲6.29 |
Add New Post /wp-admin/post-new.php | 3.35 ▼3.63 | 31.08 ▼1,249.16 |
Media Library /wp-admin/upload.php | 3.41 ▲0.11 | 25.25 ▼9.57 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ABG Rich Pins
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,879 ▲125 | 16.33 ▲0.66 | 9.03 ▲0.82 | 2.24 ▼0.46 |
Dashboard /wp-admin | 2,893 ▲32 | 6.03 ▼0.15 | 119.61 ▼13.18 | 154.50 ▼10.59 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.25 ▲0.01 | 66.23 ▲1.54 | 145.53 ▲1.84 |
Add New Post /wp-admin/post-new.php | 2,489 ▲821 | 23.42 ▲5.34 | 383.59 ▼26.27 | 176.54 ▲21.51 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.60 ▲0.08 | 139.31 ▼1.07 | 190.46 ▼0.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
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 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/abg-rich-pins/abg-rich-pins.php:39
- > 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 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
Please fix the following attributes:
- Screenshots: Screenshot #1 (metabox) image missing
abg-rich-pins/abg-rich-pins.php Passed 13 tests
The main PHP script in "ABG Rich Pins" version 1.1 is automatically included on every request by WordPress
67 characters long description:
Designed to help users to implement and customize Rich Pins easily.
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
No dangerous file extensions were detected674 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 58 | 32 | 583 |
JavaScript | 1 | 1 | 5 | 74 |
CSS | 2 | 2 | 12 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 10 | |
▷ Named functions | 10 | 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
There were not PNG files found in your plugin