Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Parse error in wp-content/plugins/tempesta-media-publishing/model/core.php+263
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.93ms] Passed 4 tests
Analyzing server-side resources used by Tempesta Media Publishing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.52 ▲2.59 |
Dashboard /wp-admin | 3.30 ▲0.00 | 46.83 ▼5.14 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.51 ▼4.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.69 ▼16.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.90 ▲2.16 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Tempesta Media Publishing: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.27 ▲0.25 | 1.82 ▼0.04 | 43.23 ▼1.27 |
Dashboard /wp-admin | 2,192 ▲14 | 5.61 ▼0.02 | 87.70 ▼30.10 | 42.69 ▼4.47 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.02 | 36.09 ▲0.77 | 37.47 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.01 ▼0.68 | 664.67 ▼37.50 | 53.68 ▼4.08 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.24 ▲0.07 | 99.56 ▼1.25 | 41.36 ▼0.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/tempesta-media-publishing/admin/view/index.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/tempesta-media-publishing/admin/view/options.php:14
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/tempesta-media-publishing/model/core.php on line 263
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tempesta-media-publishing/admin/view/metatags.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: publishing, seo, content
tempesta-media-publishing/tempesta-media.php 77% from 13 tests
The main PHP script in "Tempesta Media Publishing" version 1.0.1 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/language" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tempesta-media-publishing.php" instead of "tempesta-media.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
No dangerous file extensions were detected686 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 161 | 598 | 549 |
CSS | 1 | 10 | 4 | 61 |
JavaScript | 1 | 4 | 0 | 49 |
Markdown | 2 | 6 | 0 | 27 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 4.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 10 | 31.25% |
▷ Public methods | 28 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.50% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin