Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.14ms] Passed 4 tests
An overview of server-side resources used by Mobi Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.40 ▼3.82 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.31 ▼4.39 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.90 ▼8.43 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.36 ▼11.91 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.87 ▲0.08 |
Mobi Builder /wp-admin/options-general.php?page=mobi-builder | 3.19 | 30.34 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 10 new options
New WordPress options |
---|
mobibuildershowborder |
mobibuilderbordercolor |
mobibuilderopeninnewtab |
widget_recent-posts |
mobibuilderborderthickness |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Mobi Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.14 ▼1.23 | 1.77 ▲0.16 | 43.88 ▲5.52 |
Dashboard /wp-admin | 2,207 ▲19 | 4.85 ▼1.19 | 110.12 ▼0.51 | 39.52 ▼7.78 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▼0.03 | 40.28 ▲4.11 | 34.65 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.27 ▲0.06 | 593.49 ▼29.94 | 48.45 ▼0.66 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.22 ▲0.04 | 94.83 ▼5.29 | 41.60 ▼5.04 |
Mobi Builder /wp-admin/options-general.php?page=mobi-builder | 983 | 2.02 | 21.72 | 28.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 10 options in the database
- widget_theysaidso_widget
- mobibuilderbordercolor
- mobibuilderborderthickness
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- mobibuilderopeninnewtab
- widget_recent-posts
- mobibuildershowborder
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=mobi-builder
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=mobi-builder
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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/mobi-builder/mobi-builder.php:150
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (The plugin admin page.), #2 (The embedded project.)
mobi-builder/mobi-builder.php Passed 13 tests
The principal PHP file in "Mobi Builder" v. 1.0 is loaded by WordPress automatically on each request
47 characters long description:
Embed a Mobi Builder project into your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin123 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 8 | 123 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 30.04KB | 11.33KB | ▼ 62.28% |
assets/screenshot-1.png | 46.47KB | 20.87KB | ▼ 55.09% |