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: ▲1.47MB] [CPU: ▲0.29ms] Passed 4 tests
A check of server-side resources used by Eonet Frontend Publisher
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.93 ▲1.46 | 42.72 ▲1.98 |
Dashboard /wp-admin | 4.78 ▲1.47 | 49.23 ▼3.29 |
Posts /wp-admin/edit.php | 4.83 ▲1.47 | 50.94 ▲4.52 |
Add New Post /wp-admin/post-new.php | 7.38 ▲1.49 | 96.01 ▼2.04 |
Media Library /wp-admin/upload.php | 4.70 ▲1.47 | 50.19 ▲15.13 |
Eonet /wp-admin/admin.php?page=eonet | 4.76 | 37.59 |
Frontend Publisher /wp-admin/admin.php?page=?page=eonet&eo_settings=frontend-publisher | 4.47 | 29.20 |
Server storage [IO: ▲3.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 79 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Eonet Frontend Publisher
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,001 ▲230 | 15.77 ▲1.42 | 16.66 ▲14.55 | 35.38 ▼8.79 |
Dashboard /wp-admin | 2,236 ▲45 | 5.47 ▲0.57 | 108.59 ▼9.71 | 91.10 ▲43.90 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.41 ▲0.41 | 39.80 ▲2.42 | 44.69 ▲8.67 |
Add New Post /wp-admin/post-new.php | 1,719 ▲177 | 25.32 ▲7.08 | 599.21 ▼64.54 | 38.63 ▼13.15 |
Media Library /wp-admin/upload.php | 1,427 ▲42 | 4.77 ▲0.62 | 101.62 ▼17.75 | 91.53 ▲43.88 |
Eonet /wp-admin/admin.php?page=eonet | 1,183 | 2.22 | 32.41 | 78.44 |
Frontend Publisher /wp-admin/admin.php?page=?page=eonet&eo_settings=frontend-publisher | 28 | 0.44 | 0.08 | 3.97 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following items
- 15× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/eonet-frontend-publisher/core/admin/EonetAdmin.php
- > /wp-content/plugins/eonet-frontend-publisher/core/admin/pages/EonetPageThemes.php
- > /wp-content/plugins/eonet-frontend-publisher/core/admin/pages/EonetPageExtensions.php
- > /wp-content/plugins/eonet-frontend-publisher/core/EonetMetaboxes.php
- > /wp-content/plugins/eonet-frontend-publisher/core/admin/EonetAdminPages.php
- > /wp-content/plugins/eonet-frontend-publisher/core/EonetOptions.php
- > /wp-content/plugins/eonet-frontend-publisher/core/bootstrap.php
- > /wp-content/plugins/eonet-frontend-publisher/init.php
- > /wp-content/plugins/eonet-frontend-publisher/component-frontend-publisher/EonetFrontendPublisher.php
- > /wp-content/plugins/eonet-frontend-publisher/core/EonetComponents.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-frontend-publisher/core/admin/pages/views/extensions.php:3
- > PHP Fatal error
Uncaught Error: Class 'ComponentFrontendPublisher\\EonetFrontendPublisher' not found in wp-content/plugins/eonet-frontend-publisher/component-frontend-publisher/views/form.php:6
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-frontend-publisher/core/admin/views/wrapper.php:3
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-frontend-publisher/core/admin/pages/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/eonet-frontend-publisher/core/admin/pages/views/support.php:1
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\Admin\\EonetAdmin' not found in wp-content/plugins/eonet-frontend-publisher/core/admin/pages/views/themes.php:2
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetOptions' not found in wp-content/plugins/eonet-frontend-publisher/component-frontend-publisher/settings.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=?page=eonet&eo_settings=frontend-publisher
- > Network (severe)
wp-admin/admin.php?page=?page=eonet&eo_settings=frontend-publisher - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% 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
8 plugin tags: post types, ajax, edit, frontend, live...
eonet-frontend-publisher/init.php 85% from 13 tests
This is the main PHP file of "Eonet Frontend Publisher" version 1.0.11, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("eonet-frontend-publisher.php" instead of "init.php")
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
Good job! No executable or dangerous file extensions detected19,026 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 749 | 1,032 | 11,644 |
SVG | 2 | 0 | 3 | 4,898 |
Sass | 15 | 40 | 7 | 1,793 |
JavaScript | 6 | 215 | 195 | 687 |
CSS | 4 | 3 | 82 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 24.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 42 | 39.25% |
▷ Public methods | 84 | 78.50% |
▷ Protected methods | 21 | 19.63% |
▷ Private methods | 2 | 1.87% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
12 PNG files occupy 0.53MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/assets/images/colorpicker/hue.png | 0.49KB | 0.50KB | 0.00% |
core/assets/images/logo.png | 10.69KB | 6.80KB | ▼ 36.38% |
core/assets/images/colorpicker/alpha.png | 0.48KB | 1.68KB | 0.00% |
core/assets/images/themes/woffice.png | 446.42KB | 194.26KB | ▼ 56.48% |
core/assets/images/32.png | 1.87KB | 1.33KB | ▼ 28.84% |