Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.74ms] Passed 4 tests
A check of server-side resources used by Folded Pages
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.71 ▼6.23 |
Dashboard /wp-admin | 3.37 ▲0.07 | 52.64 ▼0.50 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 51.32 ▲3.41 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.25 ▲0.61 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.73 ▼0.85 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Folded Pages
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▼0.24 | 1.98 ▼0.19 | 44.92 ▲1.81 |
Dashboard /wp-admin | 2,192 ▲18 | 5.54 ▼0.04 | 98.95 ▼0.99 | 41.90 ▼1.76 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▼0.01 | 34.60 ▼5.55 | 32.72 ▼4.06 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.27 ▲5.20 | 664.77 ▲51.21 | 52.01 ▼12.96 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.00 | 96.18 ▼5.20 | 41.46 ▼5.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function EMMEDIA\\add_action() in wp-content/plugins/folded-pages/folded-pages.php:21
- > 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 Passed 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
2 plugin tags: page-management, wp-admin
folded-pages/folded-pages.php Passed 13 tests
The main file in "Folded Pages" v. 2.1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
103 characters long description:
A lightweight WordPress plugin to view hierarchical pages more efficiently in the WP-Admin page listing
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
Good job! No executable or dangerous file extensions detected365 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 94 | 248 |
Markdown | 1 | 32 | 0 | 92 |
XML | 1 | 16 | 53 | 25 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 68.00 |
▷ Minimum class complexity | 68.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 7.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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 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
4 PNG files occupy 0.49MB with 0.24MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 147.78KB | 149.61KB | 0.00% |
assets/icon-256x256.png | 14.24KB | 5.79KB | ▼ 59.31% |
assets/screenshot-2.png | 211.92KB | 69.53KB | ▼ 67.19% |
assets/screenshot-1.png | 131.49KB | 44.47KB | ▼ 66.18% |