Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.02ms] Passed 4 tests
A check of server-side resources used by easy repeater
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.10 | 38.69 ▼6.39 |
Dashboard /wp-admin | 3.46 ▲0.12 | 51.08 ▼0.07 |
Posts /wp-admin/edit.php | 3.58 ▲0.18 | 51.84 ▲0.45 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.22 | 90.97 ▼2.05 |
Media Library /wp-admin/upload.php | 3.39 ▲0.12 | 39.34 ▲2.86 |
repeater options /wp-admin/admin.php?page=easy-repeater-main-options | 3.37 | 41.12 |
easy repeater /wp-admin/admin.php?page=easy-repeater | 3.54 | 45.85 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
repeat_main_array_save |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for easy repeater
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲76 | 14.75 ▲0.15 | 1.63 ▼0.22 | 39.73 ▼5.17 |
Dashboard /wp-admin | 2,228 ▲54 | 5.67 ▲0.13 | 94.27 ▼5.53 | 87.52 ▲45.60 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 1.98 ▼0.10 | 36.40 ▲0.37 | 30.79 ▼2.12 |
Add New Post /wp-admin/post-new.php | 6,422 ▲4,894 | 26.26 ▲3.04 | 938.92 ▲252.64 | 54.40 ▼3.84 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.23 ▼0.05 | 100.06 ▼23.54 | 63.66 ▲14.67 |
repeater options /wp-admin/admin.php?page=easy-repeater-main-options | 1,174 | 3.28 | 45.02 | 79.71 |
easy repeater /wp-admin/admin.php?page=easy-repeater | 1,415 | 3.23 | 53.53 | 94.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- repeat_main_array_save
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=easy-repeater-main-options
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
The following issues need your attention
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-repeater/options-functions.php
- > /wp-content/plugins/easy-repeater/options_admin.php
- > /wp-content/plugins/easy-repeater/options.php
- > /wp-content/plugins/easy-repeater/easy-metabox.php
- > /wp-content/plugins/easy-repeater/easy-reapeater.php
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 is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== easy-repeater ===
)
easy-repeater/easy-reapeater.php 92% from 13 tests
The main file in "easy repeater" v. 2.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-repeater.php" instead of "easy-reapeater.php")
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
Success! There were no dangerous files found in this plugin1,769 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 91 | 72 | 1,001 |
CSS | 2 | 8 | 0 | 419 |
PO File | 3 | 98 | 121 | 267 |
JavaScript | 1 | 1 | 8 | 82 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
6 PNG files occupy 0.11MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imgs/op4.png | 17.94KB | 0.22KB | ▼ 98.76% |
imgs/op1.png | 17.83KB | 0.17KB | ▼ 99.03% |
imgs/icon.png | 17.60KB | 0.12KB | ▼ 99.31% |
imgs/op2.png | 18.07KB | 0.29KB | ▼ 98.40% |
imgs/no.png | 19.26KB | 7.06KB | ▼ 63.34% |