Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Parse error in wp-content/plugins/working-news-sitemap-generator-for-google-news-2014/sitemapgen.php+409
syntax error, unexpected '}', expecting end of file
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.58ms] Passed 4 tests
Server-side resources used by Working News Sitemap Generator For Google News (2015)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.26 ▼1.47 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.42 ▼15.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.98 ▲1.22 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 77.53 ▼34.63 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.67 ▲3.76 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Working News Sitemap Generator For Google News (2015)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.05 | 1.69 ▲0.14 | 40.83 ▲1.12 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.03 | 106.81 ▼12.32 | 41.75 ▼5.58 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.04 | 44.45 ▲8.33 | 35.14 ▲1.29 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 18.26 ▼0.04 | 603.30 ▼14.00 | 59.03 ▲10.15 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.20 ▲0.02 | 94.07 ▼3.66 | 41.30 ▼3.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/working-news-sitemap-generator-for-google-news-2014/sitemapgen.php on line 409
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Add Publication Name and Language Manually)
working-news-sitemap-generator-for-google-news-2014/sitemapgen.php 85% from 13 tests
The entry point to "Working News Sitemap Generator For Google News (2015)" version v1.03... is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "v1.03...")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("working-news-sitemap-generator-for-google-news-2014.php" instead of "sitemapgen.php")
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 plugin253 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 75 | 81 | 253 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 19.73KB | 10.89KB | ▼ 44.81% |