Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼2.23ms] Passed 4 tests
This is a short check of server-side resources used by Omnipress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 40.12 ▲0.39 |
Dashboard /wp-admin | 3.47 ▲0.17 | 48.11 ▼8.33 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 48.45 ▼1.24 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 90.37 ▲0.27 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.28 ▲1.85 |
Server storage [IO: ▲2.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 79 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Omnipress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲109 | 14.44 ▲0.14 | 1.54 ▼0.56 | 39.00 ▼5.63 |
Dashboard /wp-admin | 2,254 ▲69 | 5.86 ▼0.01 | 104.14 ▼17.38 | 40.26 ▼4.72 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.06 ▲0.04 | 36.50 ▼2.81 | 41.05 ▲6.22 |
Add New Post /wp-admin/post-new.php | 6,252 ▲4,719 | 22.96 ▼0.28 | 964.04 ▲278.94 | 68.36 ▲6.08 |
Media Library /wp-admin/upload.php | 1,436 ▲48 | 4.18 ▼0.06 | 99.15 ▼19.56 | 42.57 ▼8.87 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/omnipress/includes/index.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/omnipress/includes/Libraries/importer/parsers.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/omnipress/includes/Libraries/importer/class-wp-import.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/omnipress/assets/blocks/slider/container/public/render.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/omnipress/includes/Libraries/importer/init.php on line 13
- > PHP Warning
Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/omnipress/includes/Libraries/importer/init.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/import.php' (include_path='.:/usr/share/php') in wp-content/plugins/omnipress/includes/Libraries/importer/init.php on line 13
- > PHP Warning
require_once(ABSPATHwp-admin/includes/import.php): failed to open stream: No such file or directory in wp-content/plugins/omnipress/includes/Libraries/importer/init.php on line 13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: blocks, demos, block, patterns
omnipress/omnipress.php 92% from 13 tests
The primary PHP file in "Omnipress" version 1.1.5 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 162 characters long)
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 plugin4,963 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 961 | 1,277 | 3,752 |
JSON | 8 | 0 | 0 | 1,145 |
SVG | 7 | 0 | 0 | 37 |
CSS | 6 | 2 | 11 | 15 |
JavaScript | 14 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 28.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 214.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 1 | 4.55% |
▷ Concrete classes | 21 | 95.45% |
▷ Final classes | 0 | 0.00% |
Methods | 162 | |
▷ Static methods | 26 | 16.05% |
▷ Public methods | 145 | 89.51% |
▷ Protected methods | 9 | 5.56% |
▷ Private methods | 8 | 4.94% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
No PNG images were found in this plugin