Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.53ms] Passed 4 tests
A check of server-side resources used by Pivotpress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.87 ▼2.42 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.99 ▼0.22 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.57 ▼3.15 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.25 ▼0.34 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.63 ▲1.17 |
Pivotpress /wp-admin/options-general.php?page=pivotpress | 3.23 | 34.63 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Pivotpress: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲114 | 13.66 ▲0.43 | 6.82 ▲5.02 | 59.91 ▲18.48 |
Dashboard /wp-admin | 2,207 ▲1 | 5.83 ▲0.99 | 100.13 ▼10.34 | 41.26 ▼0.31 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.02 | 48.68 ▲9.33 | 37.24 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.22 ▼0.05 | 668.98 ▼60.35 | 52.83 ▲0.50 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▲0.01 | 95.63 ▼13.87 | 41.99 ▼2.24 |
Pivotpress /wp-admin/options-general.php?page=pivotpress | 789 | 2.03 | 24.19 | 28.96 |
Uninstaller [IO: ✅] [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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/pivotpress/templates/pivotpress-story.php on line 14
- > PHP Notice
Undefined variable: story in wp-content/plugins/pivotpress/templates/pivotpress-story.php on line 4
- > PHP Notice
Trying to get property 'estimate' of non-object in wp-content/plugins/pivotpress/templates/pivotpress-story.php on line 19
- > PHP Notice
Undefined variable: story in wp-content/plugins/pivotpress/templates/pivotpress-story.php on line 10
- > PHP Notice
Undefined variable: story in wp-content/plugins/pivotpress/templates/pivotpress-story.php on line 14
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/pivotpress/templates/pivotpress-story.php on line 4
- > PHP Notice
Trying to get property 'current_state' of non-object in wp-content/plugins/pivotpress/templates/pivotpress-story.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function pivotpress_out_story_type_svg() in wp-content/plugins/pivotpress/templates/pivotpress-story.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function pivotpress_get_labels() in wp-content/plugins/pivotpress/templates/pivotpress-main.php:25
- > PHP Notice
Undefined variable: story in wp-content/plugins/pivotpress/templates/pivotpress-story.php on line 19
- > PHP Warning
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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: There are too many tags (14 tag instead of maximum 10)
pivotpress/pivotpress.php Passed 13 tests
The main PHP script in "Pivotpress" version 0.2.6 is automatically included on every request by WordPress
47 characters long description:
A simple Pivotal Tracker frontend for Wordpress
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 plugin6,285 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 1,370 | 9 | 5,270 |
Sass | 3 | 67 | 1 | 441 |
SVG | 2 | 0 | 0 | 310 |
PHP | 4 | 69 | 60 | 183 |
JavaScript | 1 | 19 | 3 | 81 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected