Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.15ms] Passed 4 tests
Server-side resources used by Mybizna Pods Migration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.52 ▲4.46 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.84 ▼3.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.21 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.74 ▲4.52 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.47 ▲0.20 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mybizna Pods Migration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.42 ▼0.87 | 1.66 ▼0.21 | 40.01 ▼1.14 |
Dashboard /wp-admin | 2,206 ▲14 | 5.86 ▲0.92 | 98.89 ▼6.77 | 40.78 ▼1.82 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.01 | 37.40 ▲2.12 | 32.21 ▼2.09 |
Add New Post /wp-admin/post-new.php | 1,533 ▼10 | 23.13 ▲4.77 | 624.35 ▲26.47 | 49.58 ▼10.39 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.21 ▼0.03 | 93.54 ▼7.08 | 42.36 ▼2.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/mybizna-pods-migration/mybizna-pods-migration.php:86
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== mybizna-pods-migration ===
)
mybizna-pods-migration/mybizna-pods-migration.php 85% from 13 tests
The main PHP script in "Mybizna Pods Migration" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "5.4")
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.0" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin2,166 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 1,625 |
PHP | 2 | 208 | 299 | 484 |
YAML | 1 | 0 | 0 | 43 |
Markdown | 1 | 8 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 103.00 |
▷ Minimum class complexity | 103.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 5.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 32.00% |
▷ Protected methods | 17 | 68.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected