Benchmarks
Plugin footprint 65% 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.91MB] [CPU: ▼38.06ms] Passed 4 tests
Server-side resources used by Spreadsheet of Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.99 ▼0.42 |
Dashboard /wp-admin | 3.03 ▼0.27 | 26.32 ▼25.02 |
Posts /wp-admin/edit.php | 3.03 ▼0.32 | 27.52 ▼20.32 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.86 | 22.29 ▼91.87 |
Media Library /wp-admin/upload.php | 3.03 ▼0.20 | 21.16 ▼15.03 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Spreadsheet of Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲35 | 14.61 ▼0.12 | 1.92 ▼0.26 | 43.91 ▲0.16 |
Dashboard /wp-admin | 2,215 ▲41 | 6.20 ▲0.54 | 94.83 ▲4.80 | 79.39 ▲35.38 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.47 ▲0.49 | 41.19 ▲0.31 | 35.03 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.19 ▼0.22 | 810.45 ▲170.33 | 37.57 ▼25.29 |
Media Library /wp-admin/upload.php | 1,426 ▲32 | 4.59 ▲0.37 | 100.96 ▼5.94 | 76.91 ▲28.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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 | 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spreadsheet-of-posts/spreadsheet-of-posts.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Spreadsheet interface to all posts in the Uncategorized category. Display of rich-formatted text)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== spreadsheet-of-posts ===
)
spreadsheet-of-posts/spreadsheet-of-posts.php Passed 13 tests
The main file in "Spreadsheet of Posts" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
61 characters long description:
Plugin for displaying Wordpress posts in a spreadsheet layout
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
Success! There were no dangerous files found in this plugin11,341 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 2,322 | 1,477 | 10,794 |
CSS | 2 | 88 | 56 | 371 |
PHP | 1 | 22 | 8 | 176 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/icon-large.png | 0.91KB | 0.98KB | 0.00% |
css/icon-small.png | 0.57KB | 0.53KB | ▼ 5.69% |