Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.32MB] [CPU: ▲3.78ms] Passed 4 tests
Analyzing server-side resources used by Post Right There
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 47.58 ▲10.29 |
Dashboard /wp-admin | 3.61 ▲0.30 | 49.76 ▲3.41 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 48.90 ▲4.44 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 98.29 ▲5.95 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 35.16 ▲1.31 |
Post Right There /wp-admin/options-general.php?page=prth_settings | 3.50 | 32.23 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Post Right There
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,699 ▲964 | 21.67 ▲7.28 | 141.55 ▲139.74 | 78.18 ▲37.47 |
Dashboard /wp-admin | 2,204 ▲16 | 4.91 ▲0.06 | 102.35 ▼1.84 | 47.08 ▲5.70 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.00 | 36.87 ▼4.39 | 30.92 ▼3.85 |
Add New Post /wp-admin/post-new.php | 1,557 ▲43 | 18.14 ▲0.67 | 582.09 ▼34.85 | 51.22 ▼2.53 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.23 ▲0.02 | 92.91 ▼12.38 | 43.03 ▼1.38 |
Post Right There /wp-admin/options-general.php?page=prth_settings | 891 | 1.81 | 30.88 | 26.51 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/post-right-there/templates/options-page.php:27
- > 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 issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
post-right-there/post-right-there.php Passed 13 tests
"Post Right There" version 0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
80 characters long description:
Create, edit inline and manage posts, pages and custom posts from the front end.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin4,565 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 13 | 144 | 27 | 1,636 |
CSS | 5 | 113 | 51 | 1,413 |
PHP | 8 | 222 | 63 | 1,340 |
PO File | 1 | 66 | 67 | 168 |
JSON | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview 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.35 |
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 | 79 | |
▷ Named functions | 79 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/lib/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |