Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/simple-database-exportimport-for-migration-or-backup/index.php+39
Use of undefined constant version__MLSS - assumed 'version__MLSS' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.52ms] Passed 4 tests
This is a short check of server-side resources used by Simple Database Export+Import+Migration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 46.02 ▼2.87 |
Dashboard /wp-admin | 3.37 ▲0.02 | 55.45 ▼7.95 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 52.73 ▲4.06 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 84.51 ▼18.04 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.40 ▲2.78 |
IMPORT_EXPORT_DB /wp-admin/options-general.php?page=sdiem_opts_subpage | 3.26 | 33.33 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Database Export+Import+Migration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.24 | 1.93 ▲0.06 | 42.86 ▼0.47 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▼0.02 | 87.94 ▼4.97 | 38.85 ▼5.59 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.00 | 34.58 ▼3.86 | 35.79 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,551 ▲20 | 23.19 ▼0.02 | 630.29 ▼81.47 | 50.90 ▼5.45 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.24 ▼0.02 | 97.86 ▼8.67 | 42.50 ▼2.68 |
IMPORT_EXPORT_DB /wp-admin/options-general.php?page=sdiem_opts_subpage | 803 | 2.04 | 26.31 | 28.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/simple-database-exportimport-for-migration-or-backup/index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: post views, view counter, postviews, post hits, post counter
simple-database-exportimport-for-migration-or-backup/index.php 92% from 13 tests
Analyzing the main PHP file in "Simple Database Export+Import+Migration" version 1.2
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-database-exportimport-for-migration-or-backup.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin143 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 40 | 143 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 12 | |
▷ Named functions | 9 | 75.00% |
▷ Anonymous functions | 3 | 25.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin