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.03MB] [CPU: ▼3.38ms] Passed 4 tests
A check of server-side resources used by TagPages
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 48.07 ▲6.32 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.95 ▼5.98 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 52.56 ▲2.29 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 91.55 ▼7.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.05 ▼1.89 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 3.25 | 37.36 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by TagPages
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.38 ▲0.14 | 1.48 ▼0.45 | 38.47 ▼4.85 |
Dashboard /wp-admin | 2,201 ▲21 | 5.62 ▲0.04 | 92.55 ▼2.49 | 42.06 ▼8.57 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▲0.05 | 39.07 ▲1.90 | 35.41 ▲2.09 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 18.35 ▼5.25 | 599.46 ▼84.12 | 60.57 ▲4.94 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▲0.06 | 98.17 ▼6.33 | 42.67 ▼3.64 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 1,327 | 2.12 | 29.15 | 31.89 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 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/tagpages/tagpages.php:95
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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: There are too many tags (14 tag instead of maximum 10)
- Screenshots: Please add images for these screenshots: #1 (This screenshot illustrates editing a page in the Admin Menu.), #2 (The second picture shows the Pages section in the Admin Menu.)
tagpages/tagpages.php Passed 13 tests
The main PHP file in "TagPages" ver. 1.64 adds more information about the plugin and also serves as the entry point for this plugin
39 characters long description:
Adds post-tags functionality for pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected118 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 74 | 143 | 79 |
PO File | 2 | 6 | 4 | 39 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 15.39KB | 7.69KB | ▼ 50.01% |
screenshot-1.png | 46.24KB | 20.24KB | ▼ 56.23% |