Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲5.14MB] [CPU: ▲14.20ms] 75% from 4 tests
Server-side resources used by PT AO90
It is recommended to improve the following
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.14MB on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.55 ▲3.08 | 43.89 ▲7.65 |
Dashboard /wp-admin | 9.14 ▲5.83 | 60.74 ▲15.45 |
Posts /wp-admin/edit.php | 9.19 ▲5.83 | 59.21 ▲15.17 |
Add New Post /wp-admin/post-new.php | 11.73 ▲5.84 | 108.87 ▲24.43 |
Media Library /wp-admin/upload.php | 9.06 ▲5.83 | 54.32 ▲18.54 |
Server storage [IO: ▲0.01MB] [DB: ▲0.43MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- Illegal file modification detected: 67 files (2,832.79KB) outside of "wp-content/plugins/pt-ao90/" and "wp-content/uploads/"
- (new file) wp-content/languages/admin-pt_PT_ao90.mo
- (new file) wp-content/languages/admin-network-pt_PT_ao90.mo
- (new file) wp-content/languages/admin-pt_PT_ao90.po
- (new file) wp-content/languages/pt_PT_ao90-0cc31205f20441b3df1d1b46100f6b8d.json
- (new file) wp-content/languages/continents-cities-pt_PT_ao90.po
- (new file) wp-content/languages/pt_PT_ao90-0ce75ad2f775d1cac9696967d484808c.json
- (new file) wp-content/languages/pt_PT_ao90-17179a5f2930647c89151e365f843b6e.json
- (new file) wp-content/languages/pt_PT_ao90-0eebe503220d4a00341eb011b92769b4.json
- (new file) wp-content/languages/continents-cities-pt_PT_ao90.mo
- (new file) wp-content/languages/admin-network-pt_PT_ao90.po
- ...
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
WPLANG |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
PT AO90: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 14.36 ▼0.27 | 1.65 ▼0.21 | 42.53 ▼0.81 |
Dashboard /wp-admin | 2,203 ▲26 | 5.68 ▲0.02 | 85.54 ▼12.58 | 37.72 ▼5.78 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.03 ▲0.01 | 34.75 ▲1.79 | 33.93 ▼8.40 |
Add New Post /wp-admin/post-new.php | 1,604 ▲75 | 23.60 ▲0.55 | 645.91 ▼44.84 | 51.28 ▼17.71 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.22 ▼0.08 | 97.33 ▼8.34 | 42.96 ▼4.75 |
Uninstaller [IO: ▲2.77MB] [DB: ▲0.43MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- WPLANG
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pt-ao90/pt-ao90.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
pt-ao90/pt-ao90.php Passed 13 tests
The main file in "PT AO90" v. 0.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
139 characters long description:
Sets WordPress language to Portuguese (AO90), according to the orthographic reform of 1990, and adds fallbacks to the pre-AO90 orthography.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin55 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 50 | 55 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin